|
发表于 2015-3-21 09:29:29
|
显示全部楼层
@echo off
:start
title CAD_PROE_UG垃圾文件快速清理及可清除已知病毒工具 %1
call :subpurge %1
FOR /D /R %%a IN (*.*) do call :subpurge "%%a" call :subdel "%%a"
:subpurge
echo Purging, %1
cd "%1"
call purge.bat
:subdel
echo Purging, %1
cd "%1"
attrib *.* -h
attrib *.* -r
del *.dwl
del std.out
del *.err
del *.inf.*
del *.log.*
del *.bak
del *.out.*
del *.crc
del *.acc
del *.tmp
del *._mp
del *.log
del *.gid
del *.chk
del *.old
del *.acc
del *.cdc
del *.ger
del *.idx
del *.inf
del *.inf.*
del *.log
del *.log.*
del *.lst
del *.err.*
del *.bk*
del *.ac$
del *.dmp
del *.m_p
del *.out
del *.ftg
del *.??$
del *.??~
del *.~*
del *.fts
del *.syd
del *.ms
del *.diz
del *.wbk
del *.Xlk
del *.cdr_
del *.#res
del *.$$$
del autorun.inf
del fun.xls.exe
del wsctf.exe
del win32.trojan-psw.de1f
del win32.trojan.crypt
del Worw.Win32.QQPass.a
del Backdoor.Win32.WinterLove.bi
del Win32.Backdoor.agent
del Win32.trojan-psw.de1f
del Trojan.Win32.startpage.apw
del Trojan-psw.Win32.onlinegames.bka
del Backdoor.Win32.Delf.awy
del Trojan-psw.Win32.onlinegames.atf
del Trojan-spy.Win32.delf.ace
del Win32.Trojan.Crypt
del Win32.TrojanPWS.Lmir
del Win32.Worm.Viking
del Win32.Backdoor.Agent
del Win32.Trojan-PSW.Delf
del Win32.TrojanPWS.QQPass
del Trojan-psw.Win32.onlinegames.bib
del Trojan-spy.Win32.delf.abi
del Trojan-psw.Win32.onlinegames.bke
del Trojan-spy.Win32.delf.acb
del Trojan-psw.Win32.wow.uv
del Win32.Backdoor.Agent
del Win32.Trojan-PSW.Delf
del Win32.TrojanPWS.QQPass
del Win32.Worm.Viking
del Win32.TrojanPWS.Lmir
del Win32.Trojan.Crypt
del Win32.Backdoor.Agent
del Win32.Trojan-PSW.Delf
del Win32.TrojanPWS.QQPass
del Win32.Worm.Viking
del Win32.TrojanPWS.Lmir
del Win32.Trojan.Crypt
del Win32.Backdoor.Agent
del Win32.Trojan-PSW.Delf
del Win32.TrojanPWS.QQPass
del Win32.Worm.Viking
del Win32.TrojanPWS.Lmir
del Win32.Trojan.Crypt
del Win32.Backdoor.Agent
del Win32.Trojan-PSW.Delf
del Win32.TrojanPWS.QQPass
del Win32.Worm.Viking
del Win32.TrojanPWS.Lmir
del Win32.Trojan.Crypt
del Win32.Backdoor.Agent
del Win32.Trojan-PSW.Delf
del Win32.TrojanPWS.QQPass
del Win32.Worm.Viking
del Win32.TrojanPWS.Lmir
del Win32.Trojan.Crypt
del Exploit.html.vml.r
del Trojan-spy.Win32.delf.ach
del Trojan-downloader.js.vml.f
del Trojan-spy.Win32.delf.aao
del Trojan-psw.Win32.onlinegames.bjf
del Trojan-psw.Win32.onlinegames.bjc
del Trojan-psw.Win32.onlinegames.ben
del Trojan-psw.Win32.onlinegames.bib
del Trojan-psw.Win32.onlinegames.bib
del Backdoor.Win32.WinterLove.bj
del Trojan-psw.Win32.onlinegames.bjk
del Trojan-downloader.Win32.small.czl
del Win32.Backdoor.Agent
del Win32.Trojan-PSW.Delf
del Win32.TrojanPWS.QQPass
del Win32.Worm.Viking
del Win32.TrojanPWS.Lmir
del Win32.Trojan.Crypt
del Adware.BHO(generic)
del Infostealer.Gampass
del W32.SillyFDC
del GHO.exe
del aoo88753.exe
del wscins.exe
del qhcins.exe
del vbrc351.exe
del vbrbc91.exe
del wlfins.exe
del VBRAF6D.exe
del ztmins.exe
del SoundMan.exe
del uninst.exe
del 3721Search.dll
del xyhins.exe
del jzgini.dll
del jzgini.dll
del wdbini.dll
del wgeins.exe
del A0116137.inf
del A0116225.dll
del A0116226.dll
del A0116227.dll
del aoo90221.dll
del aoo90222.dll
del aoo90223.dll
del aoo90224.dll
del aoo90236.exe
del aoo90237.exe
del aoo90238.exe
del aoo90239.exe
del aoo90241.exe
del syscom.exe
cls & echo 欢迎使用,有空和我聊聊 QQ:237815962
@echo off
set MC=unset
if "%PROCESSOR%" == "INTEL_64" set MC=ia64_nt
if "%PROCESSOR%" == "INTEL_486" set MC=i486_nt
if "%PROCESSOR%" == "MIPS_R4000" set MC=r4000_nt
if "%PROCESSOR%" == "Alpha_AXP" set MC=alpha_nt
if "%PROCESSOR_ARCHITECTURE%" == "IA64" set MC=ia64_nt
if "%PROCESSOR_ARCHITECTURE%" == "x86" set MC=i486_nt
if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set MC=r4000_nt
if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set MC=alpha_nt
if not "%winbootdir%" == "" set mc=i486_win95
if not "%MC%" == "unset" goto mc_done
echo ERROR Cannot detect what machine type you have.
echo Please make one of the following settings:
echo.
echo set PROCESSOR=Alpha_AXP - For Windows NT Alpha based machines.
echo.
echo set PROCESSOR=MIPS_R4000 - For Windows NT MIPS based machines.
echo.
echo set PROCESSOR=INTEL_486 - For Windows NT Intel based machines.
echo.
echo set PROCESSOR=INTEL_64 - For Windows Intel Itanium based machines.
echo.
echo set winbootdir=<boot dir> - For Windows 95/98 machines.
echo.
exit
:mc_done
if NOT "%mc%" == "i486_win95" goto postenv4096
if "%env4096%" == "true" goto postenv4096
set env4096=true
command.com /E:4096 /C %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
set env4096=
goto ptc_end
:postenv4096
set PRO_MACHINE_TYPE=%MC%
if "%PROOBJ_START_DIRECTORY%" == "" set PRO_DIRECTORY=
if NOT "%PRO_DIRECTORY%" == "" "%PRO_DIRECTORY%\bin\%MC%_ptc_setvars" %0 "purge" bat
if "%PRO_DIRECTORY%" == "" %MC%_ptc_setvars %0 "purge" bat
call ptc_setvars.bat
del ptc_setvars.bat
if NOT "%mc%" == "i486_win95" set start_cmd=start ""
if "%mc%" == "i486_win95" set start_cmd=start
set PRO_DIRECTORY=%PRODIR%
if NOT "%PTCPATH%" == "" goto ptcpathset
if NOT "%mc%" == "i486_win95" goto not95
set path="%PRO_DIRECTORY%\bin;%path%"
goto pathdone
:not95
set path=%PRO_DIRECTORY%\bin;%path%
:pathdone
set PTCPATH=true
:ptcpathset
"%PRODIR%\%MC%\obj\purge.exe" %1 %2 %3 %4 %5
:ptc_end
把上面的字符复制到记事本,另存为bat文件,放在工作的文件夹,做好了点击一下就好了。
可以对照清除前和清除后的文件夹大小 |
|