How to change Directory in CMD on Windows 11/10
Windows Control Prompt is a smashing built-in tool that allows y'all to run programs using the command-line option. Using the command, yous tin can perform a lot of things instantly on your Windows reckoner like troubleshooting and fixing certain kinds of challenging issues, switching or irresolute directory, and more.
As a Windows user, you must need to be well familiar with the basic commands and usage of the Command Prompt. In this guide, we volition show you how to modify directories in Command Prompt on Windows 11/10.
How to modify Directory in CMD
If you lot want to change the directory in the Command Prompt, you take three options:
- Use Dir and CD command to change directories
- Use the Drag and Driblet method
- Using the Tab key.
one] Using DIR and CD commands
To become started, open up the Windows search using Win+Q keyboard shortcut.
In the text area, type cmd and so select Control Prompt from the effect list.
Once you open up the control prompt, blazon dir command to see the listing of all subdirectories in the current folder.
In the above screenshot, you tin can see the list of all directories bachelor in my folder named "digvi".
At present suppose you desire to modify the current directory with the Documents folder from the list.
To practise so, type cd followed by a space, type Documents and then hitting Enter-
cd Documents
If you recall yous are in the wrong directory and want to change the directory then you first need to move a level dorsum.
To do that, blazon the below commands and hit Enter:
cd ..
After turning back, type cd followed past a space and then type the new directory proper noun you want to alter.
cd space <directory name>
Make sure to remove the brackets from the above control-line and and so press the Enter key.
For reference, you lot tin see the above image, where I take changed the Documents directory to Downloads directory.
Once you alter the directory name, again type dir to see the contents of the directory.
Read: How to delete files and folders using Command Prompt.
2] Using Drag and Drib
In case the folder you accept to change is nowadays on your reckoner screen, utilize the drag and drop method to reverberate the pathname of the folder.
Read: Ways to open Command Prompt in a folder.
3] Using the Tab cardinal
Additionally, you can utilise the Tab fundamental to type the directory proper noun quickly.
To practice this, type cd > infinite > the first few letters directory name, then hitting the tab key.
Hope this helps!
Source: https://www.thewindowsclub.com/change-directory-in-command-prompt-on-windows-10
Posted by: dukesquoinep.blogspot.com
0 Response to "How to change Directory in CMD on Windows 11/10"
Post a Comment