If you want to go back one directory .. issue the following command:
C:\Documents and Settings\user>cd ..
C:\Documents and Settings>cd ..
C:\>
The thread is already marked as solved but I don't think it has been solved yet ??
nanosani
Unauthenticated Liar
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
If you wish to change the drive alone to end up in its root, then type
E:
If you wish to change the drive AND specify a directory or file at the same time then type
cd /D E:\"other stuff"
Then when inside the directory "other stuff" you can open a file this_one.fil by typing
this_one.fil
See the D switch? Use the "" when there is a space in the pathname. It could also be this...
cd /D "E:\other stuff"
And I doubt you are using MS-DOS in XP?... it is likely the command line in cmd.exe.
cd .. takes you to the parent of the directory you are in, and is a one-way street ending at the root, with no branching possible.
Also type cd /?
gerbil
Industrious Poster
4,209 posts since May 2005
Reputation Points: 239
Solved Threads: 301