Q&A for How to Change Directories in Command Prompt

Return to Full Article

Search
Add New Question
  • Question
    How do I go to C:\ from C:\users\username?
    Community Answer
    You can either type "cd .." to take you up a directory level (to C:\users) and once again to take you to the root level, or you can always type "cd \" from any directory to take you to the root level.
  • Question
    How do I change the name of a drive, like from Drive H: to drive A:?
    Community Answer
    In start, type Computer Management. Open Computer Management and click the arrow next to Storage, then Disk Management. Right-click the drive you want to rename and click Change Drive Letter.
  • Question
    What is the difference between cd\ and cd?
    Community Answer
    In order to use cd you have to put a file path after it; cd\ just goes straight to C:\.
  • Question
    How do I make a new directory?
    Community Answer
    To make a new directory in the current directory simply type "mkdir dirname" (without the quotation marks).
  • Question
    How do I open a desktop folder if the given cmd is not working?
    Community Answer
    I had this problem before, try "dir" and then write the exact folder name that appeared.
  • Question
    How do I create a folder on the desktop?
    Community Answer
    Left click on any open space on the desktop, then click "New folder." The folder will be created and you will be prompted to name it.
  • Question
    What would you type at a command prompt to change to the root directory of the c: drive if the prompt says c:\winnt\system32?
    Community Answer
    The command you are looking for is: cd/.
  • Question
    Can you change the directory without having administrator privileges? If so, how?
    Sasa Bozilovic
    Community Answer
    Follow the steps in this article, but log on using a non admin account. Make sure you can't use admin actions, such as "del system path\system file".
  • Question
    How do I list directories in the folder I'm in?
    Sasa Bozilovic
    Community Answer
    To list directories in the folder you're in, simply type "dir". It will display everything in this folder, including files. To list directories in the specific folder, type "dir path to folder\folder". For example, to list directories in a folder called "lol" in a user folder called "tik", type "dir C:\Users\tik\lol".
  • Question
    How can I get my date in CMD?
    Sasa Bozilovic
    Community Answer
    Type "echo %date%". It will display date info. To change your date, simply type "date", type mm/dd/yyyy (m resembles month, d resembles date, y resembles year) and hit enter.
  • Question
    How do I move a directory in command prompt?
    Sasa Bozilovic
    Community Answer
    Type "move path to folder\foldername 2nd path to folder\2nd folder", where path to folder resembles the path to your folder and folder resembles the folder you want to move.
  • Question
    How do I go back one directory?
    Arrogance
    Top Answerer
    To return to the parent directory, just enter ''cd ..''
Ask a Question

      Return to Full Article