Open User’s Desktop Directory from Command-Line on Windows

Posted on July 21, 2018 at 2:47 pm

Open user’s Desktop folder from Windows command prompt (cmd.exe):

cd %HOMEPATH%\Desktop

The environment variable %HOMEPATH% is the current user’s home directory, example:


So %HOMEPATH%\Desktop will open the current user’s Desktop folder:


Receive updates via email

Other Posts

Updated Posts