偶改过的:
@echo off
( ~3 ~% v& n" h wecho 正在清除系统垃圾文件,请稍等...... o2 @ s( i3 ?, k+ f+ Z: m
del /f /s /q %systemdrive%\*.tmp ! O7 z2 @% {1 Y
del /f /s /q %systemdrive%\*._mp : v+ X' U9 X6 Y( L: U
::del /f /s /q %systemdrive%\*.log " ]) x" x; h! I: f% J( [4 }7 J
del /f /s /q %systemdrive%\*.gid
! b+ a) T# P4 ^1 W+ m; s3 udel /f /s /q %systemdrive%\*.chk 6 d' ^* L4 |# Q( x
del /f /s /q %systemdrive%\*.old f! R& e3 E: a
::del /f /s /q %systemdrive%\recycled\*.*
2 w! [& s' E+ R0 ~$ P; l2 adel /f /s /q "%userprofile%\Local Settings\Application Data\Microsoft\Terminal Server Client\Cache\bcache22.bmc"
# n3 q- v5 m* ]& O6 Pdel /f /s /q %windir%\*.bak 7 N7 G, N0 A& I3 y$ f& [
del /f /s /q %windir%\prefetch\*.* 8 T2 I G. Q, b) Z
rd /s /q "%userprofile%\Local Settings\Temp" & md "%userprofile%\Local Settings\Temp": A" \, f/ b2 z, D# g% i5 d
::del /f /q %userprofile%\COOKIES s\*.*
! X' ], ~" W$ o, e' Sdel /f /q %userprofile%\recent\*.*
; O8 P2 M6 E4 { ~ J+ n, `4 U::rd /s /q %windir%\temp & md %windir%\temp
$ b' R8 g, e. z/ [$ D {del /f /s /q "%userprofile%\recent\*.*" " {7 f5 ?1 H6 A; {# ]
del /f /s /q "%userprofile%\Local Settings\History\*.*" : @3 g7 v% ]' `6 ~/ b9 k" e
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
B9 C3 o3 {5 u" i3 G3 D6 Rdel /f /s /q "%userprofile%\UserData\*.*" Z9 O7 i% i4 {, t( K$ w
::del /f /s /q "%userprofile%\Cookies\*.*" ( ?# u* M, f+ Z$ A# C
del /f /s /q "%userprofile%\Templates\*.*"
$ {, q6 ?% j! e4 f" i( @::sfc /purgecache '清理系统盘无用文件 & U) c- J! |; o: P7 y6 S4 b
::defrag %systemdrive% -b '优化预读信息 ) [% R- n) n# E! x& f' q6 d
echo 清除系统LJ完成!
/ G6 t) m. D" e( Jecho 3秒后自动退出!
4 S, V3 G) C R) m4 _7 Z- ^ping 127.1>nul&exit
5 x; O$ E7 p S; q( l- ?+ _4 R8 `( [/ U( R: L9 A
5 |! D2 [( s7 }: ~1 `% m- S7 ]) s貌似28楼的听说过。想不起来了。哪位能帮忙找找?