迅维网
标题:
自做清理系统垃圾文件代码
[打印本页]
作者:
月读OS天照
时间:
2018-10-8 21:37
标题:
自做清理系统垃圾文件代码
@echo off
echo
正在清除系统垃圾文件,请稍等......
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 InternetFiles\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo
清除系统LJ完成!
echo. & pause
作者:
wangyan0461
时间:
2018-10-9 08:47
简单粗暴了一点吧,没有判断之类的语句,不过批处理也很难做到程序哪样灵活须知判断之类的语句
作者:
fanzhenchao0
时间:
2018-10-9 09:19
百度复制粘贴
;P;P;;P;P;P;P;P
欢迎光临 迅维网 (https://www.chinafix.com/)
Powered by Discuz! X3.4