Last active
July 12, 2016 08:03
-
-
Save myfreeer/1e38d40737f2f4614876be539438c471 to your computer and use it in GitHub Desktop.
a batch file aimed to clean chrome's cache files in one click
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
pushd "%~dp0" | |
REM 批处理中%~dp0为批处理文件所在路径 | |
if not exist "%~dp0\User Data" exit | |
for %%i in ( | |
"%~dp0\User Data\Default\Cache" | |
"%~dp0\User Data\PnaclTranslationCache" | |
"%~dp0\User Data\ShaderCache" | |
"%~dp0\User Data\Default\Application Cache" | |
"%~dp0\User Data\Default\JumpListIconsOld" | |
"%~dp0\User Data\Default\GPUCache" | |
"%~dp0\User Data\Default\Media Cache" | |
"%~dp0\User Data\Default\Pepper Data\Shockwave Flash\CacheWritableAdobeRoot\AssetCache" | |
"%~dp0\User Data\Default\ChromeDWriteFontCache" | |
"%~dp0\User Data\Default\Current Session" | |
"%~dp0\User Data\Default\Current Tabs" | |
) do ( | |
attrib -r -s -h %%i /D /S | |
del %%i /f /s /q | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment