title: Create a .bat file to run an exe as administrator
body: <p>I've created a batch file for running a setup.exe (code below) but I'm having issues getting the setup.exe to "run as administrator". I used <a href="http://www.howtogeek.com/forum/topic/make-a-batch-file-to-run-cmd-as-administrator" rel="nofollow noreferrer">this</a> guide (shortcut trick) for aid.</p>
  
  <pre><code>start "" %CD%\Setup.exe
  </code></pre>
  
  <p>NOTE: My files will eventually be burnt to a DVD disk. They are currently in the directory <code>"C:\Drivers\win8.1_x64\01a.chipset"</code>.</p>
  
  <p>The batch file code runs the setup.exe (without admin privileges) fine, when running the batch file by itself (i.e. not running the shortcut).</p>
  
  <p>However, when I run the batch file via the shortcut, Windows gives the error <code>"Windows cannot find 'C:\Windows\system32\Setup.exe'"</code>.</p>
  
  <p>The setup.exe directory is not in the system32 folder. Why does running the batch file find the setup.exe fine but not when I run it by the shortcut (so I can run the setup.exe as an admin)?</p>