|
发表于 2006-11-1 14:21:49
|
显示全部楼层
@echo off
. D) X2 z/ F! g: [echo 正在清除系统垃圾文件,请稍等......, ~0 ^" c! e' a1 T \( V& W
del /f /s /q %systemdrive%\*.tmp( A9 H4 `" ^9 E# j5 T
del /f /s /q %systemdrive%\*._mp# N. a, \4 b) X- t/ c
del /f /s /q %systemdrive%\*.log9 D- m/ E/ V" w% l
del /f /s /q %systemdrive%\*.gid; r2 W$ \9 W z# e: J
del /f /s /q %systemdrive%\*.chk
* O, U0 l; p! v I6 Adel /f /s /q %systemdrive%\*.old/ ~8 m$ l& L% N
del /f /s /q %systemdrive%\recycled\*.*
/ z! d S, V0 P0 I& f- zdel /f /s /q %windir%\*.bak8 B4 @& n0 g7 I; N
del /f /s /q %windir%\prefetch\*.*$ i2 }) S" I- `
rd /s /q %windir%\temp & md %windir%\temp
; U% B2 q: q' d7 H- N/ udel /f /q %userprofile%\小甜饼s\*.*
3 l I6 {6 ?) ]: F+ Udel /f /q %userprofile%\recent\*.*& g: n7 U/ J/ A" K6 S% \0 N6 y2 X+ h
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*". w; ?! c7 q8 v( S
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
3 P7 D) N# @, udel /f /s /q "%userprofile%\recent\*.*". I% f9 \+ t8 u
echo 清除系统LJ完成!' x/ f \8 M7 [# y" r9 l u
echo. & pause
9 M1 v3 v, y1 h/ g
* u7 {3 t! Y; T" M+ _) j' _
# ^" [8 E) s3 F4 {. p0 j$ B用记事本粘贴.后缀名改为BAT 运行->搞定! |
|