|
@echo off % |! t6 Y+ f+ Q, A6 @9 j& S
echo 正在清除系统垃圾文件,请稍等......
4 y" c8 R: H4 w) T: i3 v' ]del /f /s /q %systemdrive%\*.tmp ) {& y$ R3 S8 E( t7 b
del /f /s /q %systemdrive%\*._mp
9 z- v1 [3 K; k; [) l0 C0 Gdel /f /s /q %systemdrive%\*.log
, Z& U; Y; s" F6 Z$ }del /f /s /q %systemdrive%\*.gid
8 C: L3 M% A& U) T( P ]* edel /f /s /q %systemdrive%\*.chk
/ I1 s1 Z( |" o; X8 h: \# c' {/ Kdel /f /s /q %systemdrive%\*.old
- G5 Z. H. d) O* @1 s+ D; Zdel /f /s /q %systemdrive%\recycled\*.*
6 ~ ? {9 H4 V4 y. V, kdel /f /s /q %windir%\*.bak
2 w# H( l; G$ q4 {8 {, y; Mdel /f /s /q %windir%\prefetch\*.* $ I4 M: Z# M4 N5 S/ O2 I, L2 s+ U
rd /s /q %windir%\temp & md %windir%\temp
" V, i8 s* ~# }& l8 \* Z3 E) `del /f /q %userprofile%\cookies\*.* 4 W' J, M( \9 |! V* g
del /f /q %userprofile%\recent\*.*
, V; A9 W2 R0 @7 q+ S$ xdel /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" ( Y, T* S* R# F |4 W/ [
del /f /s /q "%userprofile%\Local Settings\Temp\*.*" ( k8 A$ D4 I3 z; S, O9 Q# [
del /f /s /q "%userprofile%\recent\*.*"
& K8 |( C1 ^; L3 J% k! recho 清除系统LJ完成!
, n5 U# n$ S# l) B* [& recho. & pause
, t& V/ ]1 P1 A, `& T. B
$ e6 T) Z- t( s% l$ m8 z8 q% V4 s5 d将以上这段代码复制后粘贴在一个记事本里,然后把文件格式改成BAT格式即可! |
|