Windows desktop filepath

25 May 2019

In linux and MacOS, the desktop is generally located at ~/Desktop. On Windows, it seems to be more complicated than that. Thankfully powershell can give you the path to the desktop easily.

So to run the .exe you just downloaded and put there for safekeeping: In powershell [Environment]::GetFolderPath("Desktop") will give you your path and then you can cd to that and run