How can I create a shortcut for clearing Java's temporary internet files?
Windows 7 or later batch file:
for /D %%a in (*.*) do DEL /F /S /Q "%%a\AppData\LocalLow\Sun\Java\Deployment\cache\*.*" for /D %%a in (*.*) do FOR /D %%b IN ("%%a\AppData\LocalLow\Sun\Java\Deployment\cache\*.*") DO RMDIR /S /Q "%%b"
Windows XP batch file:
for /D %%a in (*.*) do DEL /F /S /Q %%a\Application Data\Sun\Java\Deployment\cache\*.*" for /D %%a in (*.*) do FOR /D %%b IN (%%a\Application Data\Sun\Java\Deployment\cache\*.*) DO RMDIR /S /Q "%%b
Source Cleanup Windows & Java Temporary Files using a Batch Script