How to Use "CD" Command in Command Prompt Window

The command prompt tool on Microsoft Windows computers gives you direct access to key operating system functions without having to click through all the tiles or windows that make up the regular user interface. The simple tool lets you enter text commands to perform advanced administrative procedures and troubleshoot specific Windows issues. The "CD" command stands for "change directory" and this allows you to open different directories or folders on your hard drive.

Step

Press the "Windows-R" keys on your keyboard, type "CMD" in the Open field in the Run box, and then select "OK" to open a command prompt window.

Step

Type "CD/" and press "Enter" to navigate to the root directory of the C drive. "CD/" will always return you to the root directory.

Step

Type "CD" and the name of the directory you want to open, and press "Enter" to navigate to that directory in the command prompt window. For example, to open the Program Files folder, you would type "CD Program Files".

Step

Navigate through the directory by using the "CD" command, along with the name of a subdirectory. If you know the exact file path to which you wish to navigate, you can type it after the "CD" command. For example, to open the Windows Help directory, type "CD Windows\Help" and press "Enter."

Step

Type "CD.." and press "Enter" to return to the previous directory.