title: Run a bat hidden and as admin the same time
body: <p>I have a <code>bat</code> file that can run for more than an hour due to the things it does. Can I make it somehow run hidden and in admin mode?</p>
  
  <p>I have found a way to make it run hidden with vbs:  </p>
  
  <pre><code>Set WshShell = CreateObject("WScript.Shell")
  
  WshShell.Run chr(34) &amp; "C:\Users\Ab\Desktop\vi\nove.bat" &amp; Chr(34), 0
  
  Set WshShell = Nothing
  </code></pre>
  
  <p>I would prefer to find a way to put them inside the batch file but I think it's not possible so a <code>vbs</code> file would be ok as well.</p>