|
@echo off
5 ^% ^, h1 i7 gecho 正在清除系统垃圾文件,请稍等...... 7 S, j" I6 a. ^( f( z
del /f /s /q %systemdrive%\*.tmp
6 w8 W3 w. ~1 ?! i& C0 g# [del /f /s /q %systemdrive%\*._mp
0 }3 ~, u9 s) T5 Edel /f /s /q %systemdrive%\*.log ; z, o) }* Y! f0 o0 \
del /f /s /q %systemdrive%\*.gid
5 v M9 g9 ^- c4 D) \+ mdel /f /s /q %systemdrive%\*.chk # R% S4 N' N: O& E4 o! g
del /f /s /q %systemdrive%\*.old
( C+ C' m9 ], T, f7 {7 Ydel /f /s /q %systemdrive%\recycled\*.*
0 ?9 ]8 W, Y1 C3 cdel /f /s /q %windir%\*.bak / B8 x: y" ~! B t/ g J0 N
del /f /s /q %windir%\prefetch\*.* 4 X+ H4 U# |1 {( n0 V- u& {/ s
rd /s /q %windir%\temp & md %windir%\temp , w4 O# x; J' u. w% I- U: @
del /f /q %userprofile%\cookies\*.* 5 w) b! J- @8 w' K d1 _2 z
del /f /q %userprofile%\recent\*.* 0 Z- s. `7 V, g8 h% ]4 E! P
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
7 d0 w4 Z! K% y% v; v, Ddel /f /s /q "%userprofile%\Local Settings\Temp\*.*" 3 U- h+ F- H, M+ Y! ]* x- s9 V: v
del /f /s /q "%userprofile%\recent\*.*" $ B4 D j7 c, E S( w, `) h
echo 清除系统LJ完成! , W# ~8 J2 l' P& H
echo. & pause ' M( }1 x8 P' Y, N2 X
7 L8 W+ A1 v% u: R! @, v
将以上这段代码复制后粘贴在一个记事本里,然后把文件格式改成BAT格式即可! |
|