chdir
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.
Related links
Feedback
Submit and view feedback for