User Tools

Site Tools


en:cd_command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:cd_command [2024/02/18 17:59] – removed domeleen: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:][path]
 +CHDIR [..]
 +CD [/D] [drive:][path]
 +CD [..]
 +
 +  ..   Specifies that you want to change to the parent directory.
 +
 +Type "CD drive:" to display the current directory on the specified 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 "\WINNT\Profile\username\Programs\Startmenu"
 +
 +If command extensions are disabled, quotation marks must be
 +specified.
 +
 +Translated with DeepL.com (free version)
en/cd_command.1708279147.txt.gz · Last modified: by domele