|
@echo off
& Y) e" i& p% S# @echo 正在清除系统垃圾文件,请稍等...... " U; w9 L, ~9 i. r; c* N0 g/ `5 A- t
del /f /s /q %systemdrive%\*.tmp
. n. H8 ~ M9 \( w' }6 Zdel /f /s /q %systemdrive%\*._mp + q* D2 G4 q' f0 W: f6 {
del /f /s /q %systemdrive%\*.log
* k# D1 h5 p# xdel /f /s /q %systemdrive%\*.gid 3 m8 O4 n! Y6 C' G% h, q/ j
del /f /s /q %systemdrive%\*.chk
; @3 S9 y" C) t( |* a- qdel /f /s /q %systemdrive%\*.old * ~7 w6 d, C$ N' U4 g9 {. X5 b. N
del /f /s /q %systemdrive%\recycled\*.*
% A- O; \9 ?1 A! |; F ^" |del /f /s /q %windir%\*.bak 0 {8 e+ c( ?7 U
del /f /s /q %windir%\prefetch\*.*
, F2 z% ]. n5 Urd /s /q %windir%\temp & md %windir%\temp & M9 F4 L" v0 ^! ]% R `: r
del /f /q %userprofile%\cookies\*.* * Q6 X3 l3 u/ L8 Q& ] \. r7 B
del /f /q %userprofile%\recent\*.* 5 Y* q0 G2 R( B3 }7 s6 s' q
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" ) M) B9 d3 P" b: O" y/ `
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
+ @1 q! m9 A1 G# z# C, o2 ~' gdel /f /s /q "%userprofile%\recent\*.*"
; R8 q! g; S2 q* O" Lecho 清除系统LJ完成! 4 `8 E+ B: s- K" X' B
echo. & pause
( m+ V4 J: P+ d. `4 U2 A1 ?
+ x l! r8 E8 E" E; j4 [" L将以上这段代码复制后粘贴在一个记事本里,然后把文件格式改成BAT格式即可! |
|