用DOS命令清理C盘的垃圾文件
问题补充说明:最好是做成一个BAT文件
步骤如下:
1、点击开始,点击运行,输入notepad,点击确定;
2、打开记事本输入
@居半神非属么海代感个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%s末画纪家伯庆ystemdrive%/*.chk
del/f/s/q%systemdrive%/*.old
del/f/s/q%systemdrive%/r根离氧身ecycled/*.*
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%/LocalSettings百/TemporaryInternetFiles/*.*"
del/f/s/q"%userprofile%/LocalSettings/Temp/*.*"
del/f/s/q"%userprofile%/recent/*.*"
echo清除系统垃圾完成!
echo.&pause
3、按ctrl+s保存,输入文件名1.bat,保存类型选择所有文件,点击保存;
4、双击1.reg,点击确定添加到注册表,重启即可。
标签:DOS,C盘,垃圾文件