@echo off if "%1" == "" (goto HOWTOUSE) if "%1" == "/delete" (goto DEL_OE5) if "%1" == "/reinstall" (goto REINST_OE5) :DEL_OE5 rem -- delete files -- echo deleting Outlook Express 5... del "%systemroot%\system32\inetcomm.dll" del "%systemroot%\system32\msoeacct.dll" del "%systemroot%\system32\msoert2.dll" del "%programfiles%\Outlook Express\msoe.dll" del "%programfiles%\Outlook Express\msoeres.dll" del "%programfiles%\Outlook Express\msimn.exe" del "%programfiles%\Outlook Express\oeimport.dll" del "%programfiles%\Outlook Express\oemiglib.dll" del "%programfiles%\Outlook Express\oemig50.exe" del "%programfiles%\Outlook Express\setup50.exe" del "%programfiles%\Outlook Express\wab.exe" del "%programfiles%\Outlook Express\wabfind.dll" del "%programfiles%\Outlook Express\wabimp.dll" del "%programfiles%\Outlook Express\wabmig.exe" del "%programfiles%\Outlook Express\csapi3t1.dll" del "%CommonProgramFiles%\System\directdb.dll" del "%CommonProgramFiles%\System\wab32.dll" del "%CommonProgramFiles%\System\wab32res.dll" rem -- delete folders -- del /q "%appdata%\Identities" del /q "%appdata%\Microsoft\Address Book" del /q "%CommonProgramFiles%\Microsoft Shared\Stationery" rem -- delete registry key -- echo REGEDIT4 > deloe5.reg echo ; >> deloe5.reg echo [-HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express] >> deloe5.reg echo [-HKEY_LOCAL_MACHINE\Software\Microsoft\WAB] >> deloe5.reg echo [-HKEY_CURRENT_USER\Identities] >> deloe5.reg echo [-HKEY_CURRENT_USER\Software\Microsoft\Outlook Express] >> deloe5.reg echo [-HKEY_CURRENT_USER\Software\Microsoft\WAB] >> deloe5.reg regedit -s deloe5.reg del deloe5.reg rem -- delete dllcache -- echo これ以降は「見つかりませんでした」が出ても正常です。 del "%systemroot%\system32\dllcache\inetcomm.dll" del "%systemroot%\system32\dllcache\msoeacct.dll" del "%systemroot%\system32\dllcache\msoert2.dll" del "%systemroot%\system32\dllcache\directdb.dll" del "%systemroot%\system32\dllcache\wab32.dll" del "%systemroot%\system32\dllcache\wab32res.dll" del "%systemroot%\system32\dllcache\msoe.dll" del "%systemroot%\system32\dllcache\msoeres.dll" del "%systemroot%\system32\dllcache\msimn.exe" del "%systemroot%\system32\dllcache\oeimport.dll" del "%systemroot%\system32\dllcache\oemiglib.dll" del "%systemroot%\system32\dllcache\oemig50.exe" del "%systemroot%\system32\dllcache\setup50.exe" del "%systemroot%\system32\dllcache\wab.exe" del "%systemroot%\system32\dllcache\wabfind.dll" del "%systemroot%\system32\dllcache\wabimp.dll" del "%systemroot%\system32\dllcache\wabmig.exe" del "%systemroot%\system32\dllcache\csapi3t1.dll" goto END rem -- reinstall -- :REINST_OE5 echo reinstall Outlook Express 5... %SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemroot%\inf\msoe50.inf %SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemroot%\inf\wab50.inf goto END :HOWTOUSE echo Delete/Reinstall Outlook Express 5 for Windows 2000 echo (C) Windows.FAQ http://homapage2.nifty.com/winfaq/ echo http://support.mocrosoft.com/support/kb/articles/Q263/8/37.asp echo. echo USAGE rmoe5 [/delete] [/reinstall] echo /delete echo delete Outlook Express 5 from Windows 2000 echo Notice!: This option must be used in Safe-Mode. echo /reinstall echo reinstall Outlook Express 5 echo Notice: You may need Windows 2000 CD-ROM. :END