|
|
|
@echo off
( H6 W) W' K L, ?1 {echo 正在清除系统垃圾文件,请稍等...... - W: {/ A8 O6 r3 G5 @6 o" q
del /f /s /q %systemdrive%\*.tmp ; Y& |' g k; N+ r
del /f /s /q %systemdrive%\*._mp
' G# H0 r+ H6 Bdel /f /s /q %systemdrive%\*.log 8 B1 a% I( o9 ?$ ~. u( X, t
del /f /s /q %systemdrive%\*.gid
6 [" Y$ N# P3 J# C" v4 J; Tdel /f /s /q %systemdrive%\*.chk
% i1 C6 F8 {+ r5 O, N! m+ Ydel /f /s /q %systemdrive%\*.old
6 e5 s* T7 R ]: r; ~$ xdel /f /s /q %systemdrive%\recycled\*.*
* d. A1 C H7 W/ {3 Idel /f /s /q %windir%\*.bak 4 D" o7 v4 b% K! h
del /f /s /q %windir%\prefetch\*.* . h1 X, g1 H) E! [: ?
rd /s /q %windir%\temp & md %windir%\temp ! H# ], q2 F! M3 B2 u
del /f /q %userprofile%\cookies\*.*
, J! K' K" Y. f3 Z% Zdel /f /q %userprofile%\recent\*.*
9 G0 ~- X& G4 y; Z9 S. E( |3 w# V6 `% Wdel /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" 1 U8 j) j, {, n, b2 t
del /f /s /q "%userprofile%\Local Settings\Temp\*.*" / n0 o' p* p. `8 ]; |4 b P* {
del /f /s /q "%userprofile%\recent\*.*"
: J8 a/ D! d+ ?1 p1 `$ c: Uecho 清除系统LJ完成!
( O+ W2 l, ~) H! lecho. & pause
; o2 ~2 s0 P g/ D' D2 Z6 ] M- _* y( A+ m) J) F$ O: ?, ~4 o4 B9 y8 C
将以上这段代码复制后粘贴在一个记事本里,然后把文件格式改成BAT格式即可! |
|