title: Cannot subst local drives as administrator
body: <p>For years (under both Win XP and Win 7) I have mapped S: to the local folder containing my source code by using a .cmd file in my user startup programs folder, which contains a command like:</p>
  
  <pre><code>subst s: C:\MyStuff\Programming\Source
  </code></pre>
  
  <p>Because I am now writing some code in Visual Studio that makes changes to the registry, Administrator permissions are required. If I don't run the above command as an administrator, the S: drive will disappear when I run Visual Studio as an administrator.</p>
  
  <p>All attempts to run this existing .cmd file as administrator have so far failed, and the only attempt that looked like working explicitly requires the Administrator password. Is there a way to run subst commands as administrator automatically each time I log in without having to know/provide the administrator password?</p>