Command prompt/batch file to set special folder locations (e.g. desktop)

Copper Contributor
 

I'm looking for a command or piece I can use in a Windows batch file to set the location of the special user folders (desktop, documents, downloads etc.). I can currently change this in Windows Explorer by right clicking on Desktop and changing the location from the default (C:\users\user\Desktop) to my alternative on the X: drive. However, I need the batch file to execute this change for me.

0 Replies