title: Differences in %ALLUSERSPROFILE% in Windows XP and Vista+
body: <p>Is there an environment variable in Windows that indicates the folder to store application data that is shared by all users?</p>
  
  <p>In Windows Vista and later, this is <code>%ALLUSERSPROFILE%</code> (typically maps to <code>C:/ProgramData</code>). However in Windows XP, <code>%ALLUSERSPROFILE%</code> maps to <code>C:\Documents and Settings\All Users</code> and I would still need to add something like <code>\Program Data\</code> to get to the equivalent location.</p>