You are viewing the article How to Change Directory in Command Prompt at Lassho.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 142,464 times.
This is an article that shows you how to change the directory in the Command Prompt program on a Windows computer. To change commands in Command Prompt, you must use an administrator account.
Steps
Open Command Prompt
- On a Windows 8 computer, you would place your mouse pointer in the upper-right corner of the screen, and then click the magnifying glass icon when you see it displayed.
- Confirm your choice by clicking Yes when asked.
- You cannot use the Command Prompt in administrator mode if you are using a restricted computer, a public computer, or a computer on a local network (such as a computer at a library or school), or regular user account.
Change directory
- Don’t press the ↵ Enter key right now.
- You can find the path to the folder by opening My Computer, double-clicking the hard drive icon, navigate to the desired folder, and look up at the address bar above the folder.
- For example, your complete command would be cd WindowsSystem32 or cd D: .
- Since your computer’s default directory is your hard drive (such as “C:”), you don’t need to enter a hard drive name.
Advice
- Changing the directory is useful when you want to modify or delete files in a certain folder.
- Here are some common directory handling commands in Command Prompt:
- D: or F: – Change directory to another drive or external storage.
- .. – Go to the directory before the current directory (such as “C:WindowsSystem32” to “C:Windows”).
- /d – Change the drive and directory at the same time. For example, if the Command Prompt is on the drive (“D:”), typing “cd /d C:Windows” will take you to the Windows folder on the hard drive (“C:”).
- – Takes you to the root directory (such as a hard drive).
Warning
- Attempting to execute a command related to a certain file or directory while you are in another directory will generate an error.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 142,464 times.
This is an article that shows you how to change the directory in the Command Prompt program on a Windows computer. To change commands in Command Prompt, you must use an administrator account.
Thank you for reading this post How to Change Directory in Command Prompt at Lassho.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: