title: Script for clearing Chrome or Firefox cache on Windows
body: <p>With Internet Explorer you can create a <code>.bat</code> file to clear the cache.</p>
  
  <p>Example:</p>
  
  <pre><code>RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
  
  REM History:
  REM RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
  
  REM Cookies:
  REM RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
  
  REM Temp Internet Files:
  REM RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
  
  REM Form Data:
  REM RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
  
  REM Passwords:
  REM RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
  
  REM OR
  
  REM All:
  rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
  </code></pre>
  
  <p>Is there any way to do this with Chrome and/or Firefox ?</p>
  
  <p>That is, with a <code>.bat</code> file or powershell script, running on a Windows machine, clear the cache of Chrome or Firefox?</p>
  
  <p>I promise, I've looked.</p>