title: Batch not launching exe when in Administrator mode
body: <p>I've got a simple exe application that writes in a file the first argument with which it gets called, so from command line I can do</p>
  
  <pre><code>MySimpleApp.exe "FOO"
  </code></pre>
  
  <p>and in the <code>SimpleFile.cfg</code> I get "FOO".
  If I try to run this batch (it's in the same folder of the app)</p>
  
  <pre><code>set mypath=%~dp0
  %mypath%MySimpleApp.exe "FOO1"
  %mypath%MySimpleApp.exe "FOO2"
  %mypath%MySimpleApp.exe "FOO3"
  </code></pre>
  
  <p>every time MySimpleApp gets called Windows ask the administrator permissions to execute the app. I thought that I could just run the batch as administrator, but even if I get no UAC prompt the application doesn't execute.
  Is there some option or command that I must use to call an exe file when the batch is launched in administrator mode?</p>