Android 发表于 2012-7-22 22:02:28

Bat批处理文件

文件格式为*.Bat批处理文件。
权限不够,不支持上传该文件。
下载地址:
http://1000eb.com/atvd一个Bat批处理文件,用于清理垃圾。
超级无聊,把文件找了出来。
放出代码,自己去改吧.
(此版有完成后自动退出功能。)@echo off

echo -----------------------------------------------------------------------------

echo ∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞
echo UserName
color 0A
echo 清空IE临时文件目录...
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"

echo 正在清除系统临时文件 *.tmp *._tmp *.log *.chk *.old ,请稍等...
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
rem .log大部分有可能有用
rem del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old

echo 清空垃圾箱,备份文件和预缓存脚本...
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

rem cooke和最近历史还是保留吧...
rem del /f /q %userprofile%\COOKIES s\*.*
rem del /f /q %userprofile%\recent\*.*

echo 清理系统盘无用文件...
%windir%\system32\sfc.exe /purgecache

echo 优化预读信息...
%windir%\system32\defrag.exe %systemdrive% -b

echo 清除系统完成!

echo -----------------------------------------------------------------------------
@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 UserNameOr Ad      echoBy-UserName
            echo
            echo.
            echo UserName Or Ad            echo   UserName Or Ad   
            echo UserName Or Ad            echo.
            echo 联系方式            echo
            echo. & pause
@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 文件清理完毕!本程序将在3秒后退出!现在进入倒计时.........
@echo off
echo WScript.Sleep 300 > %temp%.\tmp$$$.vbs
set /a i =3
:Timeout
if %i% == 0 goto Next
setlocal
set /a i = %i% - 1
echo 倒计时……%i%
cscript //nologo %temp%.\tmp$$$.vbs
goto Timeout
goto End
:Next
cls &
echo.
for %%f in (%temp%.\tmp$$$.vbs*) do del %%f
echo.懒人修改:

Android 发表于 2012-7-22 22:03:43

注意:UserName处填入你的名字。
Or 请无视
Ad 广告而已

liehuokf 发表于 2012-7-23 20:40:39

不错不错

冷焰 发表于 2012-7-26 18:44:13

不错不错,支持你

haixer 发表于 2013-5-3 20:39:07

楼主辛苦了!

huad 发表于 2013-5-4 11:46:22

不是所有gho系统都有这个的么。

skyhacker 发表于 2013-5-4 13:38:29

干吗的??????

1255484142 发表于 2013-5-9 09:14:00

怎么用?????

yeasingko 发表于 2013-5-9 23:34:59

支持一个,用于清理垃圾

大盗贼 发表于 2013-5-22 10:39:49

感谢分享!

Normal 发表于 2013-5-27 00:13:53

这不就是清理用的么。。

北流书生 发表于 2013-5-31 11:32:41

后面段有了,前面段没有,不知道有用不

linzhixiong06 发表于 2013-6-4 14:09:40

好老好老的东西啊

yyy8888 发表于 2013-6-25 08:33:31

谢谢,收下了,嘿嘿!~

f8312519 发表于 2013-6-26 13:39:13

支持一下咯
页: [1] 2 3
查看完整版本: Bat批处理文件