Home OS Windows How to change Directory in CMD on Windows 10

How to change Directory in CMD on Windows 10

Windows Command Prompt is a good built-in software that lets you run applications utilizing the command-line possibility. Using the command, you may carry out plenty of issues immediately in your Windows laptop like troubleshooting and fixing sure sorts of difficult points, switching or altering listing, and extra.

As a Windows consumer, you need to should be properly accustomed to the fundamental instructions and utilization of the Command Prompt. In this information, we are going to present you learn how to change directories in Command Prompt on Windows 10.

How to vary Directory in CMD

If you wish to change the listing within the Command Prompt, you could have three choices:

  1. Use Dir and CD command to vary directories
  2. Use the Drag and Drop technique
  3. Using the Tab key.

1] Using DIR and CD instructions

How to change Directory in CMD

To get began, open the Windows search utilizing Win+Q keyboard shortcut.

In the textual content space, sort cmd after which choose Command Prompt from the outcome checklist.

Once you open the command immediate, sort dir command to see the checklist of all subdirectories within the present folder.

In the above screenshot, you may see the checklist of all directories accessible in my folder named “digvi”.

Now suppose you wish to change the present listing with the Documents folder from the checklist.

To accomplish that, sort cd adopted by an area, sort Documents after which hit Enter-

cd Documents

If you assume you’re within the incorrect listing and wish to change the listing you then first want to maneuver a stage again.

To try this, sort the beneath instructions and hit Enter:

cd ..

After turning again, sort cd adopted by an area after which sort the brand new listing identify you wish to change.

cd house <listing identify>

Make positive to take away the brackets from the above command-line after which press the Enter key.

For reference, you may see the above picture, the place I’ve modified the Documents listing to Downloads listing.

Once you alter the listing identify, once more sort dir to see the contents of the listing.

Read: How to delete information and folders utilizing Command Prompt.

2] Using Drag and Drop

In case the folder you need to change is current in your laptop display, use the drag and drop technique to mirror the pathname of the folder.

Read: Ways to open Command Prompt in a folder.

3] Using the Tab key

Additionally, you should use the Tab key to sort the listing identify rapidly.

To do that, sort cd > house > the primary few letters listing identify, then hit the tab key.

Hope this helps!

How to Change Directories in Command Prompt on Windows 10.

Most Popular

China drives 5G demand for Sweden’s Ericsson

(Reuters) — Sweden’s Ericsson on Monday raised its global forecast for 5G mobile subscriptions to 220 million by the end of this year, citing...

Are the hyper-platforms going to kill your business?

Are the hyper-platforms going to kill your business?

Ethical AI isn’t the same as trustworthy AI, and that matters

Artificial intelligence (AI) solutions are facing increased scrutiny due to their aptitude for amplifying both good and bad decisions. More specifically, for their propensity...

A virtual company-wide hackathon is worth the investment

At our annual company retreat, we usually run a hackathon for our dev team. But this year (at our virtual retreat), we decided to...

Recent Comments