|
3#
楼主 |
发表于 2011-2-14 12:27:56
|
只看该作者
不会修改bat 附上bat
ECHO Off&Title 绿化
taskkill /f /im Thunder.exe>NUL 2>NUL
taskkill /f /im Thunder5.exe>NUL 2>NUL
taskkill /f /im ThunderPlatform.exe>NUL 2>NUL
regsvr32 /s BHO\XunLeiBHO.dll
regsvr32 /s BHO\LinkSimulate.dll
regsvr32 /s BHO\ThunderAgent.dll
BHO\XLNonIESvr.exe -r ie -silent -setfirst
BHO\XLNonIESvr.exe -r 360 -silent -setfirst
BHO\XLNonIESvr.exe -r opera -silent -setfirst
BHO\XLNonIESvr.exe -r chrome -silent -setfirst
BHO\XLNonIESvr.exe -r maxthon -silent -setfirst
BHO\XLNonIESvr.exe -r firefox -silent -setfirst
del/f/s/q "%temp%\*.*" >NUL 2>NUL
rd/s/q "%temp%\Thunder Network" 2>NUL
rd/s/q "%PUBLIC%\Thunder Network" 2>NUL
rd/s/q "%AppData%\Thunder Network"2>NUL
rd/s/q "%PUBLIC%\Documents\Thunder Network" 2>NUL
rd/s/q "%CommonProgramFiles%\Thunder Network" 2>NUL
rd/s/q "%UserProfile%\AppData\LocalLow\XueLei" 2>NUL
rd/s/q "%CommonProgramFiles(x86)%\Thunder Network" 2>NUL
rd/s/q "%AllUsersProfile%\Application Data\Xunlei" 2>NUL
rd/s/q "%UserProfile%\AppData\LocalLow\Thunder Network" 2>NUL
rd/s/q "%SystemDrive%\ProgramData\Thunder Network\">NUL 2>NUL
rd/s/q "%AllUsersProfile%\Application Data\Thunder Network" 2>NUL
rd/s/q "%UserProfile%\Local Settings\Application Data\Thunder Network" 2>NUL
md "%windir%\system32\cid_store.dat" >NUL 2>NUL
md "%windir%\system32\pub_store.dat" >NUL 2>NUL
attrib +r "%windir%\system32\cid_store.dat" >NUL 2>NUL
attrib +r "%windir%\system32\pub_store.dat" >NUL 2>NUL
md "%SystemDrive%\ProgramData\Thunder Network\DownloadLib\cid_store.dat" >NUL 2>NUL
md "%SystemDrive%\ProgramData\Thunder Network\DownloadLib\pub_store.dat" >NUL 2>NUL
attrib +r "%SystemDrive%\ProgramData\Thunder Network\DownloadLib\cid_store.dat" >NUL 2>NUL
attrib +r "%SystemDrive%\ProgramData\Thunder Network\DownloadLib\pub_store.dat" >NUL 2>NUL
xcopy /e /y /i Addins "%SystemDrive%\ProgramData\Thunder Network\Thunder\Addins" >NUL 2>NUL
reg add "HKLM\SOFTWARE\Thunder Network\ThunderOem\thunder_backwnd" /v dir /d "%CD%\Program" /f >NUL 2>NUL
reg add "HKLM\SOFTWARE\Thunder Network\ThunderOem\thunder_backwnd" /v Version /d "7.1.2.2014" /f >NUL 2>NUL
reg add "HKLM\SOFTWARE\Thunder Network\ThunderOem\thunder_backwnd" /v instdir /d "%CD%\Program" /f >NUL 2>NUL
reg add "HKLM\SOFTWARE\Thunder Network\ThunderOem\thunder_backwnd" /v addinsdir /d "%CD%\addins" /f >NUL 2>NUL
reg add "HKLM\SOFTWARE\Thunder Network\ThunderOem\thunder_backwnd" /v Path /d "%CD%\Program\Thunder.exe" /f >NUL 2>NUL
reg add "HKLM\Thunder Network\ThunderOem\thunder_backwnd" /v addinsdir /d "%SystemDrive%\ProgramData\Thunder Network\Thunder\Addins" /f >nul
reg add "HKCU\Software\Microsoft\Internet Explorer\MenuExt\使用迅雷下载" /ve /d "%CD%\BHO\geturl.htm" /f >NUL 2>NUL
reg add "HKCU\Software\Microsoft\Internet Explorer\MenuExt\使用迅雷下载" /v Contexts /t reg_dword /d "0x00000022" /f >NUL 2>NUL
reg add "HKCU\Software\Microsoft\Internet Explorer\MenuExt\使用迅雷下载全部链接" /ve /d "%CD%\BHO\getAllurl.htm" /f >NUL 2>NUL
reg add "HKCU\Software\Microsoft\Internet Explorer\MenuExt\使用迅雷下载全部链接" /v Contexts /t reg_dword /d "0x000000f3" /f >NUL 2>NUL
md "%temp%\Thunder Network\Thunder"&echo .>"%temp%\Thunder Network\Thunder\AD"&attrib +r "%temp%\Thunder Network\Thunder\AD" >NUL 2>NUL
另外试验了一下 我按照上面的pecmd来写似乎没有运行此bat |
|