How to change the drive in CMD (Command Prompt)
To access another drive, type the drive’s letter, followed by : For instance, if you wanted to change the drive from C: to E:, you should type-
Example- E:⤶
How to change the directory in CMD (CD in Command Prompt)
The first command from the list is CD (Change Directory). This command enables you to change the current directory or, in other words, to navigate to another folder from your PC.
How to go to the root of the drive in CMD (CD\)
The first iteration of the CD command you should know is CD\. It takes you to the top of the directory tree. To see how it works, after you open the Command Prompt, type:
Example- CD\⤶
How to change the parent directory in CMD (CD..)
When you need to go one folder up, use the cd.. command. Let's assume that you’re inside the system32 folder and want to go back to the Windows folder. Type
Example- CD..⤶
This comment has been removed by the author.
ReplyDelete