Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for flushfxc.bat

(view source code of flushfxc.bat as plain text)

  1. @ECHO OFF
  2. IF NOT "%OS%"=="Windows_NT" GOTO Syntax
  3. IF NOT  "%~1"==""           GOTO Syntax
  4.  
  5. SETLOCAL
  6. SET Fxc=%UserProfile%\Local Settings\Application Data\Mozilla\Firefox\Profiles
  7. FOR /D %%A IN ("%Fxc%\*.*") DO (
  8. 	IF EXIST "%%~fA\Cache\*.*" DEL /F /Q "%%~fA\Cache\*.*" >NUL 2>&1
  9. )
  10. ENDLOCAL
  11. GOTO:EOF
  12.  
  13.  
  14. :Syntax
  15. ECHO.
  16. ECHO FlushFxC.bat,  Version 1.00 for Windows NT 4 and later
  17. ECHO Flush Firefox's cache in the current user's Windows profile
  18. ECHO.
  19. ECHO Usage:  FLUSHFXC.BAT
  20. ECHO.
  21. ECHO Written by Rob van der Woude
  22. ECHO http://www.robvanderwoude.com
  23.  

page last modified: 2024-04-16; loaded in 0.0049 seconds