How do you change the current directory in command prompt?
I mean, when you open the cmd prompt, you are by default in C:\documents and settings\username.
I want to go to C:\ only. So, what do I command the prompt?
Thanks!Command Prompt???
Typing in ';cd ..'; takes you up one directory (so from C:\Documents and Setting\Username to C:\Documents and Settings).
';cd [dirname]'; takes you to that directory. To go to straight to c just type ';cd c:\';. ';dir'; will list the contents of the current directory.
For more info on each, type in ';help cd'; or ';help dir';.Command Prompt???
right click the command prompt and click on run as and then just click ok ... that should work
cd is the command to change directories.
cd c:\
will get you to the root of the c directory.
cd \
use this command:
cd C:
cd stands for change directory and C: tells cd what directory to change to (in this case the root C:)
you can easily access command prompt by typing ';cmd';
to run bar
Use the old DOS prompt
CD\
Good luck.
cd \ = takes you to the root
ex:
C:\documents and settings\username
cd\
(returns) c:
using periods takes you down one dir
ex:
C:\documents and settings\username
cd..
(returns) C:\documents and settings
Thursday, September 22, 2011
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment