title: What is the environment variable for the All Users Desktop path that works across all versions of Windows?
body: <p>I'm trying to write a batch file that can copy a file from my computer to all computers in a list. It needs to be copied to the AllUsers Desktop (I'll use a domain admin account to run the batch file).</p>
  
  <p>On my Win7 system, the <code>%ALLUSERSPROFILE%</code> returns C:\ProgramData. Is there a variable that returns the AllUsers Desktop path across every version of Windows? I have a mix of XP, Vista, and Win7.</p>