HomeBlogsHow to Change Directories in Command Prompt in Windows 11/10

How to Change Directories in Command Prompt in Windows 11/10

This tutorial is about How to Change Directories in Command Prompt in Windows 11/10. Recently I updated this tutorial and will try my best so that you understand this guide. I hope you guys like this blog, How to Change Directories in Command Prompt in Windows 11/10. If your answer is yes after reading the article, please share this article with your friends and family to support us.

Check How to Change Directories in Command Prompt in Windows 11/10

Command Prompt, often known as cmd.exe, is a command line interpreter in the Windows operating system that has been in use since the DOS days of Microsoft operating systems. Available as an alternative to the Windows GUI, Command Prompt provides significantly more flexibility and functionality for the common Windows user than the regular GUI. However, before you can do anything with Command Prompt, you first need to understand how to change folders in it. We have discussed some of the simplest ways to update your Command Prompt directory in Windows 10/11 in this post.

Change the command prompt directory with the cd command

The cd command, short for Change Directory, allows you to jump from one directory (folder) to another seamlessly.

Just type ‘cd’ at the command prompt and press Get into. From there, you’ll be taken to the top of your command prompt directory instantly. As you will see on the command prompt screen, you will be taken to the root directory in Windows “C:” drive.

To move to a particular directory, simply enter CD followed by the name of the directory. For example, we moved to the downloads directory located inside the root directory of our Windows 10 here.

For multi-word directories, you may need to enclose the name in quotes, for example cd “onenote notebooks” – a tip here, you can start typing a directory name and then press the button tab and Windows will fill in the name for you. If you have multiple directories with similar names (for example, files 1, files 2, files 3, etc.), keep pressing the tab and Windows will cycle through the possible matches.

Alternatively, instead of going directly to the root directory, you can also go back to the previous folder by adding .. after CD command. So, go to your command prompt, type CD.., and hit Get into, as we have done in our Windows 11.

Change the drive at the command prompt

If, on the other hand, you want to change your directory entirely, you will need to type the name of the drive, followed by :. So if you’re in the “C:” drive right now and would like to move into your “D:” drive, just write “D:” at the command prompt and press the button Get into.

Another thing to note is that the command prompt is not case sensitive, which means that it treats uppercase and lowercase letters the same. So it doesn’t matter if you type “D:” or “d:”: the command prompt will interpret them as the same.

Another command that deserves a special mention is the directory command. Write the directory at the command prompt and you will see a list of files and folders within the main directory.

Now if you want to get into a specific directory from here, just use the CD command above, along with the directory name, as we did earlier.

Change directories in CMD by dragging the folder

You can also use the GUI along with the command prompt here. Write CD at the command prompt, drag the folder you want to move into Terminal and press Get into.

The command prompt will switch directly to the desired folder.

Final remarks: How to Change Directories in Command Prompt in Windows 11/10

I hope you understand this article, How to Change Directories in Command Prompt in Windows 11/10. If your answer is no, you can ask anything via the contact forum section related to this article. And if your answer is yes, please share this article with your friends and family to give us your support.

James Hogan
James Hogan is a senior staff writer at Bollyinside, where he has been covering various topics, including laptops, gaming gear, keyboards, storage, and more. During that period, they evaluated hundreds of laptops and thousands of accessories and built a collection of entirely too many mechanical keyboards for their own use.

RELATED ARTICLES

Must Read

- Advertisment -