Saturday, November 20, 2010

How do i change my current directory to a differant directory? i have vista?

If you are talking about changing directories when using the command line, the command is 'cd'

cd .. will take you to a parent directory.

cd path_to_directory will take you where you want to go.



When typing the path it can be relative to your current directory such as

';cd ..\other_dir_in_parent_DIR'; or it can be complete like

';c:\dir1\dir2\dest';



To list the files and directories in your current directory, use the ';dir'; command.





If you are not talking about using the command prompt, then I am not sure what you are asking. In Windows, directories are represented by icons of folders. Double click on a folder and you will see the contents of that directory. Click on a folder in that directory, and that window will change directories to that folder's location.

No comments:

Post a Comment