How to Change Directories in Command Prompt

The Command Prompt behaves like the DOS prompts of older systems, and this allows the user to navigate his/her computer’s files and folders. There are various essential commands for navigating the Command Prompt. Feel free to follow this little guide of mine to learn some important things you really need to know.

Open the Command Prompt. You can access the Command Prompt by clicking the Start menu and typing cmd into the search field (windows7). You can also access it by typing cmd into the Run field, or it can be found in the Accessories/System Tools folder of the Start menu (windows xp).
While in Windows 8, simply press the ? Win+X and select Command Prompt from the menu.


Get oriented. When you open the Command Prompt for the first time, you notice you will be located in your personal directory. This is typically C:\Users\username\
from the image above, it is C:\Users\KOKO NELSON GODSTIME\


Another thing is to be familiar with the basic navigation commands. There are a few commands to getting around in Command Prompt. Learning some of these will help you speedily move through the directories.
Note: Press the Enter key after typing any command to execute it, the first we will talk about is :

Dir - This command will list all of the folders and files in the directory you are currently at. Our present directory is C, hence the picture displays all the files and folders there in the Drive C

Cd folder - This command will take you to the folder that you specify. The folder must be in your current directory. A simple example, If you are currently in C:\Users\username\ and you type the command "cd desktop" you will be taken to C:\Users\username\Desktop\

Cd path - The Cd path command will take the user to a specific path on your computer. You do not need to be in the same directory as the path. You must enter the entire path for it to work. For example: cd C:\Windows\System32

Cd .. - This command will move you up one directory from your current location. For example: If you are currently at C:\Users\username\ and you enter cd .. you will be taken to C:\Users\

cd\ - This command will take you to the root directory, regardless of your location. For example: If you are currently at C:\Users\username\ and you enter cd\ you will be taken to C:\

Driveletter: - This command will take you to the drive letter that you specify. The drive you specify will need to be active, or have a disc in it if it is a CD\DVD drive. For example, if you want to switch to your D or E drive, you would enter the command D:

exit - This is one of my favorite command as it will exit the Command Prompt.

SHARE AND INVITE YOUR FRIENDS


Ready To Be Make Elegant Blog

Subscribe to KOKOCOMPUTERS to enjoy Free Tricks

Advertisement

2 comments:

  1. THIS IS AN AMAZING POST, IT WORKED FINE,THANKS NELSON

    ReplyDelete

PLEASE ALWAYS USE YOUR NAME WHILE COMMENTING, SO WE CAN HAVE A MEANINGFUL CONVERSATION

 
Top