建工之家建筑论坛's Archiver

zgshit 发表于 2007-3-9 09:23

一键清理电脑垃圾文件

[color=Red]用记事本保存,然后更名为“清除系统垃圾.bat[/color]

@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 清除系统垃圾完成!
cls
echo. & pause

majian421 发表于 2007-3-9 09:37

看一看呢:(a05 :(a05

zjf0202 发表于 2007-3-12 12:32

不知道什么意思啊,请楼主加以说明

hhjsss 发表于 2007-3-12 17:51

[quote]原帖由 [i]zjf0202[/i] 于 2007-3-12 12:32 发表
不知道什么意思啊,请楼主加以说明 [/quote]

把1楼提供的。
用记事本保存,然后更名为“清除系统垃圾.bat”

xzggg 发表于 2008-9-26 21:06

好啊,先谢谢了!! :(a09

石艮 发表于 2008-10-5 10:51

很感谢很好用!
支持一下.!

lilongsheng2008 发表于 2008-10-8 16:22

不太明白楼主说的是什么意思

清香一杯茶 发表于 2008-10-8 17:03

用记事本保存,然后更名为“清除系统垃圾.bat

@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\*.*"
不街道啥意思???

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.