If you are new to Windows Command prompt then you might be looking for ways or basic commands to become familiar with CMD. Actually, before the Windows graphical user interface developed all operation were executed on Windows DOS were executed via commands line such as changing the name of a folder, search files and folders, viewing content, files deleting, switching or changing directory and more. Here in this tutorial will show you how to change directory in CMD on Windows 10, Windows 7 and 8 or 8.1. The procedure given below is same for all.
- Open the Command prompt (CMD)in Windows
- Type command dir to get a list of all directories.
- Now type CD (Change directory) along with the name of the directory you want to navigate. For example: If I want to select XYZ folder then the command will CD XYZ. For more reference please see the screenshot. Here in the screenshot, you can see that I need to select my picture directory, so the command will be CD picture.
- Now after switching the directory, you can again type dir to see the files and folder inside that directory. You can see in the given screenshot that after selecting the pictures directory I use the dir command to see other directories present inside the picture directory. After that again type CD followed by the name of another directory you want to enter.
- If you have a question in mind that how to go back to the previous directory in command prompt of windows then just type CD..
- For closing all directories and directly moe towards the root or top of the root directory type CD/
- If you want to change the drive like form C drive to D drive then the command will be; simple type D:
- Top 6 really helpful Command Prompt tricks to do some simple yet useful Windows tasks, without any third party apps
- How To Change Ubuntu Root Administrative password, if Forgotten
- Tutorial to Connect Windows DLNA Server Using Android DLNA Client
How to create multiple folders in Windows command prompt?
Start command prompt as administrator in Windows 10/8/7
How to Check Windows 10 version using Command prompt
Vboxmanage command not found in Windows CMD or PowerShell
8 Best ways to start Command Prompt in Windows 10
How to show hidden files in Windows 10 using Command prompt