第3个回答 2019-08-05
新建一个批处理文件,内容如下:
@echo
off
echo
.
echo
.
echo
一键清理系统垃圾正准备运行,请稍等..
echo
.
echo
.
echo
清理时间由系统的垃圾文件多少而定,一般不会超过1分钟
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
.
echo
.
echo
清除系统垃圾已完成!感谢您的使用
:)
echo.
&
pause
保存后直接执行此文件,系统垃圾基本都可以清除,网上有很多此类文件,你可以上去找找