title: Batch delete a folder from %LOCALAPPDATA%
body: <p>I have a need of deleting a specific folder from all users local profiles in
  <code>C:\Users\{username}\AppData\Local\</code></p>
  
  <p>I have created a short script to do this and I have to run it as Administrator because I run another program first.</p>
  
  <pre><code>call c:\test.exe
  
  rd /s /q %LOCALAPPDATA%\test
  </code></pre>
  
  <p>The problem is that this will only delete the folder in the administrator's AppData and not in all others user's folders.</p>
  
  <p>Is there any way to do it in batch, Powershell or eventually in VBS?</p>
  
  <p>My operating system is Windows 7 x64</p>