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.懒人修改: 注意:UserName处填入你的名字。
Or 请无视
Ad 广告而已 不错不错 不错不错,支持你 楼主辛苦了! 不是所有gho系统都有这个的么。 干吗的?????? 怎么用????? 支持一个,用于清理垃圾 感谢分享! 这不就是清理用的么。。 后面段有了,前面段没有,不知道有用不 好老好老的东西啊 谢谢,收下了,嘿嘿!~ 支持一下咯