Print Working Directory in Windows CMD
To print the current working directory in CMD, run the cd
command without specifying the path or parameters.
cd
As an alternative, you can use the chdir
command to print the current directory.
chdir
The cd command is short for change directory, and it is the command we use to navigate in the command prompt. If we use it without any parameters, the current directory is displayed.