title | description | ms.topic | ms.assetid | ms.author | author | manager | ms.date |
---|---|---|---|---|---|---|---|
chdir |
Reference article for the chdir command, which performs the same actions as the cd command. |
reference |
8d78901e-4f6e-4cb6-9ff8-ccf5a9d04fac |
jgerend |
JasonGerend |
mtillman |
10/16/2017 |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Displays the name of the current directory or changes the current directory. If used with only a drive letter (for example, chdir C:
), chdir displays the names of the current directory in the specified drive. If used without parameters, chdir displays the current drive and directory.
[!NOTE] This command has been replaced by the cd command. For more information, including the syntax and parameter details, see cd command.