聊城外国语学校招生:删除文件

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/10 12:26:55
我的系统文件是装在C盘的,我想删除非系统文件该怎么办,最好用绿色版的某软件直接删除.其他的方法也行.

想删除非系统文件.那就要自己手动一个个删除啦.
但是,如果想删除C盘的垃圾文件,就可以用超级兔子或者优化大师等软件来清除!
也可以用自己写个程序来清除系统垃圾文件.
教大家自己写个程序这个程序是自动清理电脑里的垃圾而不会破坏系统 比很多软件都好哦

新建一个记事本并输入以下的内容:
@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 Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统垃圾完成!
echo. & pause

打开还是记事本的看清楚这里最后将它保存,然后更名为“清除系统垃圾.bat”

ok!你的垃圾清除器就这样制作成功了!

以后只要双击运行该文件,当屏幕提示“清除系统LJ完成!就还你一个“苗条”的系统了!!到时候再看看你的电脑,是不是急速如飞呢

直接删就可以删掉
XP系统是不会自杀的