title: %temp% etc not working
body: <p>I have the below that is used as a batch file that launches powershell (too long to go over but it is used in another script).</p>
  
  <p>Anyway, I noticed the %systemroot%\temp and %systemroot% does not work. </p>
  
  <p>Any idea how I can fix this?</p>
  
  <pre><code>%systemroot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -File %SystemRoot%\TEMP\ROFS\testing_script_log.ps1
  </code></pre>
  
  <p>Thanks,</p>