title: Why can't my batch script create .txt files when elevated?
body: <p>This is pretty weird. I have a simple batch script:</p>
  
  <pre><code> @echo off
   @echo test&gt; text.txt
  </code></pre>
  
  <p>When I run it without elevated permissions it creates "text.txt", which contains "test" inside it.</p>
  
  <p>However when I run the same batch file WITH elevated permissions it does nothing. Why?</p>