清除系统垃圾lj.bat windows NT 平台下的批处理 不删cookie

已经将删除

@echooff
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%/recent/*.*
del/f/s/q"%userprofile%/localsettings/temp/*.*"
del/f/s/q"%userprofile%/recent/*.*"
sfc/purgecache''''清理系统盘无用文件
defrag%systemdrive%-b''''优化预读信息
echo清除系统lj完成!
echo.&pause

复制完保存,就是点记事本左上角的文件,选保存,然后更名为“清除系统lj.bat”就ok了,以后只要双击运行该文件,当屏幕提示“清除系统lj完成!就还你一个“苗条”的系统了!!

你可能感兴趣的:(windows)