title: a percentage sign shortcut to user desktop? (eg. %USERPROFILE% or %SYSTEMROOT%)
body: <p>So I have been writing a short batch script to execute on multiple Windows 10 computers with desktop file location located differently. I cannot just insert my current desktop directory into the script and expect it to work on other machines as the directory includes username (<code>&quot;C:\Users\user_A\Desktop&quot;</code> and <code>&quot;C:\Users\user_B\Desktop&quot;</code> or even custom directories like <code>&quot;D:\MyFiles\Desktop&quot;</code>) that varies depending on the machine. So is there a built-in &quot;function&quot; (eg. <code>%userprofile%</code> to go to the user's folder or <code>%systemroot%</code> to go to the Windows folder under C drive) that tells the script to reach for the actual location of the current user's desktop?</p>