Search In This Website

Rabu, 23 Oktober 2024

Change Directory In Command Prompt

Microsoft Windows Command Prompt
Microsoft Windows Command Prompt

Set current directory to the root directory of the current drive

  1. type this in Command Prompt
    cd \
  2. press Enter
Set current directory to the root directory of the current drive in command prompt
Set current directory to the root directory of the current drive

Set current directory to "Windows", relative to current directory of the current drive

  1. type this in Command Prompt
    cd Windows
  2. press Enter
Set current directory to "Windows", relative to current directory of the current drive on the command prompt
Set current directory to "Windows", relative to current directory of the current drive

Set current directory absolutely to "\Windows\System" of the current drive

  1. type this in Command Prompt
    cd \Windows\System
  2. press Enter
Set current directory absolutely to "\Windows\System" of the current drive on the command prompt
Set current directory absolutely to "\Windows\System" of the current drive

Set current directory absolutely. Enclosed with double quotes if pathname contains blank.

  1. type this in Command Prompt
    cd "\Program Files\Microsoft Office"
  2. press Enter
Set current directory absolutely. Enclosed with double quotes if pathname contains blank. On Microsoft Windows Command Prompt
Set current directory absolutely. Enclosed with double quotes if pathname contains blank.

Notes:

Alternatively, you can type chdir. This command does the exact same thing as "cd."


Bibliography

https://microsoft.com/
https://www.ibm.com/
https://www.wikihow.com/
https://www.ntu.edu.sg/ ( university )

Related Post

Tidak ada komentar:

Posting Komentar