cd

Display the current working directory or move to a different directory. In PowerShell, this command is an alias of Set-Location. This documentation is based on the Command Prompt (cmd) version of cd. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/cd.

tldr set-location

cd

cd path\to\directory

cd /d C:path\to\directory

cd ..

cd %userprofile%

cd \