该用户匿名发帖 发表于 2007-7-19 15:13 只看TA 1楼 |
---|
该用户已被删除 |
[交流] 最简单的VISTA系统清理软件 @echo offtitle Windows Vista系统无用文件清理批处理 color 2E echo Windows Vista操作系统在安装和使用过程中都会产生相当多的垃圾文件,包括临时文件(如:*.tmp、*._mp)、日志文件(*.log)、临时帮助文件(*.gid)、磁盘检查文件(*.chk)、临时备份文件(如:*.old、*.bak)以及其他临时文件.特别是如果一段时间不清理IE的临时文件夹“Temporary Internet Files”,其中的缓存文件有时会占用上百MB的磁盘空间.这些垃圾文件不仅仅浪费了宝贵的磁盘空间,严重时还会使系统运行慢如蜗牛.为此,Pando研究了Windows Vista中全新的系统环境变量,并将网络上的For Windows XP的脚本进行修改,使其能为Windows Vista操作系统所用。该批处理脚本将自动清理您的电脑中无用的垃圾文件,决不涉及系统中的重要文件,请放心使用! echo -------------------------------------------------------------------------------- echo 要开始进行系统清理 pause cls @echo off 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 %windir%\*.bak del /f /s /q %windir%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /s /q "%appdata%\Microsoft\Windows\cookies\*.*" del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" rd /s /q "%userprofile%\Local Settings\Temp\" & md "%userprofile%\Local Settings\Temp\" del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*" @echo off cls color 2A echo 要退出 pause 新建文本文件,把上面的内容复制粘贴到记事本中,然后保存,再把扩展名TXT改成BAT,大功告成,注意不要用于XP系统,会误删文件的,只能用于VISTA |
0 |
作者的其他主题 |
---|
VISTA的经验分享 |
建议大家使用精简版的XP系统 |
canory 发表于 2007-7-20 03:21 只看TA 3楼 |
---|
我把前30秒清理XP的和你的vista的,两者的核心部分比较了一下(那些屏幕输出的,还有颜色的我去掉了) XP的 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\*.*" VISTA的 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 %windir%\*.bak del /f /s /q %windir%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /s /q "%appdata%\Microsoft\Windows\cookies\*.*" del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" rd /s /q "%userprofile%\Local Settings\Temp\" & md "%userprofile%\Local Settings\Temp\" del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*" [ 本帖最后由 canory 于 2007-7-19 02:26 PM 编辑 ] |
0 |