windows 系统垃圾清理,copy到txt文件中,后缀更改为bat,双击运行

rem 清理系统垃圾文件
cd C:\Documents and Settings\All Users\Application Data\Network Associates\Common Framework\Current\VSCANDAT1000cd DAT\0000
del .zip /q
cd
del /F /Q /S “%userprofile%\local settings\temp”
del /F /Q /S %windir%\temp
del /F /Q /S "%userprofile%\cookies*.
"
del /F /Q /S “%userprofile%\recent*."
del /F /Q /S "%userprofile%\Local Settings\Temporary Internet Files*.

rem 清理EXP4和ASURA缓存文件
del /F /Q /S “C:\Documents and Settings%username%*.cache*”
del /F /Q /S “d:\user%username%*.cache*”
del /F /Q /S “d:\user%username%*.yap*”
del /F /Q /S “d:\user*.cache*”
del /F /Q /S “C:\Documents and Settings%username%*sfdb*”
del /F /Q /S “d:\user%username%*sfdb*”
del /F /Q /S “d:\user*sfdb*”
del /f /s /q %systemdrive%*.tmp
del /f /s /q %systemdrive%*._mp
del /f /s /q %systemdrive%*.log
del /f /s /q %systemdrive%*.gid
del /f /s /q %systemdrive%*.chk
del /f /s /q %systemdrive%*.old
del /f /s /q %systemdrive%\recycled*.*
del /f /s /q %windir%*.bak
del /f /s /q %windir%\prefetch*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies*.*
del /f /q %userprofile%\recent*.*
del /f /s /q “%userprofile%\Local Settings\Temporary Internet Files*."
del /f /s /q "%userprofile%\Local Settings\Temp*.

del /f /s /q “%userprofile%\recent*.*”
echo 清除系统LJ完成!
echo.
pause

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值