清除系统垃圾文件

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
 
echo 正在清除系统垃圾文件,请稍等......
 
del /f /s /q %systemdrive%\*.tmp
 
del /f /s /q %systemdrive%\*._mp
 
del /f /s /q %systemdrive%\*.log
 
del /f /s /q %systemdrive%\*.gid
 
del /f /s /q %systemdrive%\*.chk
 
del /f /s /q %systemdrive%\*.old
 
del /f /s /q %systemdrive%\recycled\*.*
 
del /f /s /q %windir%\*.bak
 
del /f /s /q %windir%\prefetch\*.*
 
rd /s /q %windir%\temp & md %windir%\temp
 
del /f /q %userprofile%\cookies\*.*
 
del /f /q %userprofile%\recent\*.*
 
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
 
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
 
del /f /s /q "%userprofile%\recent\*.*"
 
echo 系统提示:清除系统LJ完成!
 
echo. & pause