清除系统垃圾方法 怎样清除系统垃圾(2)

时间:2016-11-16 02:51:06 

另外,我们也可以编写一个批处理文件,用来对指定的目录和文件类型进行定向清理。

右击“桌面”,选择“新建”→“文件文件”,然后在文件中输入如图所示的内容:

新建一个记事本,在里面粘贴以下内容

@echo off

echo 正在清除系统垃圾文件,请稍等--------------

del /f /s /q %windir%prefetch*.*

rd /s /q %windir% emp & md %windir% emp

del /f /q %userprofile%cookies*.*

del /f /q %userprofile% ecent*.*

del /f /s /q "%userprofile%Local SettingsTemporary InternetFiles*.*"

del /f /s /q "%userprofile%Local SettingsTemp*.*"

del /f /s /q "%userprofile% ecent*.*"

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% ecycled*.*

del /f /s /q %windir%*.bak

echo 清除系统垃圾文件完成------------------------

echo. & pause

看不过瘾?点击下面链接!
本站微信公众号:gsjx365,天天有好故事感动你!

上一页123下一页

相关电脑知识

美图欣赏

电脑知识排行榜