2、复制以下代码粘贴到记事本内。
@echo off
color 1e
for /r c: %%a in (*.tmp *.chk *.gid *._mp *.old *.bak *.log) do del /f /s /q "%%a"
for /r c:windowstemp %%a in (*.*) do del /f /s /q "%%a"
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/diannaorumen/)for /r c:windowsPrefetch %%a in (*.*) do del /f /s /q "%%a"
for /r %userprofile%AppDataLocalTemp %%a in (*.*) do del /f /s /q "%%a"
for /r "%localappdata%MicrosoftWindowsTemporary Internet Files" %%a in (*.*) do del /f /s /q "%%a"
for /r %localappdata%MicrosoftWindowsHistory %%a in (*.*) do del /f /s /q "%%a"
for /r %appdata%MicrosoftWindowsCookies %%a in (*.*) do del /f /s /q "%%a"
for /r %windir%SoftwareDistributionDownload %%a in (*) do del /f /s /q "%%a"
for /r "%windir%Downloaded Program Files" %%a in (*) do del /f /s /q "%%a"
for /r %windir%System32LogFiles %%a in (*) do del /f /s /q "%%a"
del /f /s /q %systemdrive%hiberfil.sys
pause
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/diannaorumen/)3、将记事本后缀名改为.bat。
4、最后双击.bat运行文件即可。