en:cd_command
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:cd_command [2024/02/18 17:59] – removed domele | en:cd_command [2026/08/03 19:11] (current) – Automatic push translation domele | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Changes the directory or displays its name. | ||
| + | CHDIR [/D] [drive: | ||
| + | CHDIR [..] | ||
| + | CD [/D] [drive: | ||
| + | CD [..] | ||
| + | |||
| + | .. | ||
| + | |||
| + | Type "CD drive:" | ||
| + | drive. CD without any parameters displays the current drive and directory. | ||
| + | directory is displayed. | ||
| + | |||
| + | Use the /D option to change the current drive as well as changing the directory. | ||
| + | also change the current drive. | ||
| + | |||
| + | If command extensions are enabled, CHDIR is modified as follows: | ||
| + | modified: | ||
| + | |||
| + | The specified directory name is converted to match the name exactly in terms of upper and lower case. | ||
| + | case-sensitive to match the name on the drive. For example | ||
| + | CD C:\TEMP sets the current path to the directory C:\Temp if a directory with this name exists on the drive. | ||
| + | directory with this name exists on the drive. | ||
| + | |||
| + | The CHDIR command does not treat spaces as separators, so it is | ||
| + | possible to change to a subdirectory whose name contains spaces | ||
| + | without enclosing the name in quotation marks. Example: | ||
| + | |||
| + | cd \WINNT\Profile\Username\Programs\Startmenu | ||
| + | |||
| + | is the same as: | ||
| + | |||
| + | cd " | ||
| + | |||
| + | If command extensions are disabled, quotation marks must be | ||
| + | specified. | ||
| + | |||
| + | Translated with DeepL.com (free version) | ||
en/cd_command.1708279188.txt.gz · Last modified: by domele
