Thursday, February 28, 2008

Moving around the directory tree

We use the cd (change directory) command.
1.To move from any directory to the root of the drive we type cd\
THIS IS BECAUSE THE "\" CHARACTER REFERS TO THE ROOT.

2.To move from any directory to its immediate parent diretory we type cd.. because the two dots are the way we refer to the parent.

3.If we type cd. instead of cd.. the command just leave you in the diretory that you are in.

4.If we just type cd itself, it will cause DOS to out put a fully qualified path for the current diretory.

No comments: