How to change directory in CMD on Windows 10 via Command line

- Advertisment -
- Advertisement -

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.

  1. Open the Command prompt (CMD)in Windows
  2. Type command dir to get a list of all directories.
  3. 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.        change directory in CMD on WIndows
  4. 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.command line to change directory on CMD
  5. 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..
  6. For closing all directories and directly moe towards the root or top of the root directory type CD/
  7. If you want to change the drive like form C drive to D drive then the command will be; simple type  D:changing drive direcroty tree

 

 Also See:

 

H2S Media Team
H2S is a group of tech enthusiasts those are passionate about latest technology developments. They always like to solve own technical problems and share the same solution with others through this Website.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

Zebronics launches ZEB-Juke Bar 9000 sound bar with Dolby Digital Plus

Zebronics that has been working in the audio industry for a very long time recently has launched its new...

List of Best SQL Server Monitoring Tools with free trial in 2020

Monitoring database server not only for SQL but all kind of database systems is really a crucial task and need...

How to run Chrome extensions on Microsoft Edge Chromium browser

It is long since we know about Microsoft Edge, which is Microsoft's endeavour to dominate the market of browsers....

How to get dark mode on WhatsApp to keep eyes stress free

WhatsApp keeps adding new features to the app, and most features turn out to be useful for us, except...
- Advertisement -

73% of software developers willing to invest Rs 10-20k per year for upskilling

The rapid development in the technology area is compelling the firms and developers to gear up their technology skills...

Sony accidentally confirmed a massive News leak on PS5

The PlayStation 5 launch is just around the corner. Also, the rumours are about an upcoming meeting of Sony...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you