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)