『IBM版日本語 Microsoft Windows バージョン 3.1 用問題修正ファイル』を適用するためのバッチ。UPDATE.EXEでWindowsディレクトリーを認識できずPTF 3.10Fが適用できない場合にお使い下さい。使用方法はお察し下さい。

IF "%2"=="" GOTO ERROR
IF EXIST %1\NUL GOTO CHKARG2
GOTO ERROR
:CHKARG2
IF EXIST %2\WINVER.EXE GOTO CHKDSK1
GOTO ERROR
:CHKDSK1
ECHO Checking command arguments is OK.
%2\WINVER.EXE|FIND "3.1" >NUL
IF ERRORLEVEL 1 ECHO Warning: Attempt to update different version of Windows.
ECHO Are you sure to update Windows?
PAUSE
IF EXIST %1\$FIX$\PS55KBD.DR_ GOTO COPYDSK1
ECHO Insert CSD 3.10F DISK1 in drive.
PAUSE
GOTO CHKDSK1
:COPYDSK1
IF EXIST %2\CALENDAR.EXE EXPAND %1\$FIX$\CALENDAR.EX_ %2\CALENDAR.EXE
IF EXIST %2\SYSTEM\CANON10V.DRV EXPAND %1\$FIX$\CANON10V.DR_ %2\SYSTEM\CANON10V.DRV
IF EXIST %2\SYSTEM\CANON330.DRV EXPAND %1\$FIX$\CANON330.DR_ %2\SYSTEM\CANON330.DRV
IF EXIST %2\SYSTEM\EPSON_J.DRV EXPAND %1\$FIX$\EPSON_J.DR_ %2\SYSTEM\EPSON_J.DRV
IF EXIST %2\SYSTEM\E_PAGE01.DRV EXPAND %1\$FIX$\E_PAGE01.DR_ %2\SYSTEM\E_PAGE01.DRV
IF EXIST %2\SYSTEM\E_PAGE01.HLP EXPAND %1\$FIX$\E_PAGE01.HL_ %2\SYSTEM\E_PAGE01.HLP
IF EXIST %2\SYSTEM\E_PAGE01.DAT EXPAND %1\$FIX$\E_PAGEHT.DA_ %2\SYSTEM\E_PAGE01.DAT
IF EXIST %2\SYSTEM\LIPS3.DRV EXPAND %1\$FIX$\LIPS3.DR_ %2\SYSTEM\LIPS3.DRV
IF EXIST %2\SYSTEM\LIPS3.HLP EXPAND %1\$FIX$\LIPS3.HL_ %2\SYSTEM\LIPS3.HLP
IF EXIST %2\SYSTEM\LIPS3CRL.DLL EXPAND %1\$FIX$\LIPS3CRL.DL_ %2\SYSTEM\LIPS3CRL.DLL
IF EXIST %2\SYSTEM\LIPS3GPH.DLL EXPAND %1\$FIX$\LIPS3GPH.DL_ %2\SYSTEM\LIPS3GPH.DLL
IF EXIST %2\SYSTEM\LIPS3IMG.DLL EXPAND %1\$FIX$\LIPS3IMG.DL_ %2\SYSTEM\LIPS3IMG.DLL
IF EXIST %2\SYSTEM\LIPS3RST.DLL EXPAND %1\$FIX$\LIPS3RST.DL_ %2\SYSTEM\LIPS3RST.DLL
IF EXIST %2\SYSTEM\LIPS3TXT.DLL EXPAND %1\$FIX$\LIPS3TXT.DL_ %2\SYSTEM\LIPS3TXT.DLL
IF EXIST %2\SYSTEM\LIPS3VDM.DLL EXPAND %1\$FIX$\LIPS3VDM.DL_ %2\SYSTEM\LIPS3VDM.DLL
IF EXIST %2\SYSTEM\LINSTALL.DLL EXPAND %1\$FIX$\LINSTALL.DL_ %2\SYSTEM\LINSTALL.DLL
IF EXIST %2\SYSTEM\MSC3BC2.DRV EXPAND %1\$FIX$\MSC3BC2.DR_ %2\SYSTEM\MSC3BC2.DRV
IF EXIST %2\SYSTEM\MSGMODE.DLL EXPAND %1\$FIX$\MSGMODE.DL_ %2\SYSTEM\MSGMODE.DLL
IF EXIST %2\SYSTEM\NM.DRV EXPAND %1\$FIX$\NM.DR_ %2\SYSTEM\NM.DRV
IF EXIST %2\SYSTEM\NPDL2.DRV EXPAND %1\$FIX$\NPDL2.DR_ %2\SYSTEM\NPDL2.DRV
IF EXIST %2\SYSTEM\PCPR101.DRV EXPAND %1\$FIX$\PCPR101.DR_ %2\SYSTEM\PCPR101.DRV
IF EXIST %2\SYSTEM\PCPR201.DRV EXPAND %1\$FIX$\PCPR201.DR_ %2\SYSTEM\PCPR201.DRV
IF EXIST %2\SYSTEM\POWER.DRV EXPAND %1\$FIX$\POWER.DR_ %2\SYSTEM\POWER.DRV
IF EXIST %2\SYSTEM\PR101.DRV EXPAND %1\$FIX$\PR101.DR_ %2\SYSTEM\PR101.DRV
IF EXIST %2\SYSTEM\PR201.DRV EXPAND %1\$FIX$\PR201.DR_ %2\SYSTEM\PR201.DRV
IF EXIST %2\SYSTEM\PR602.DRV EXPAND %1\$FIX$\PR602.DR_ %2\SYSTEM\PR602.DRV
IF EXIST %2\SYSTEM\PS55KBD.DRV EXPAND %1\$FIX$\PS55KBD.DR_ %2\SYSTEM\PS55KBD.DRV
IF EXIST %2\SYSTEM\PSCRIPT.DRV EXPAND %1\$FIX$\PSCRIPT.DR_ %2\SYSTEM\PSCRIPT.DRV
IF EXIST %2\SYSTEM\RPDL.DRV EXPAND %1\$FIX$\RPDL.DR_ %2\SYSTEM\RPDL.DRV
IF EXIST %2\SYSTEM\USERFONT.FOD EXPAND %1\$FIX$\USERFONT.FO_ %2\SYSTEM\USERFONT.FOD
IF EXIST %2\SYSTEM\VDDD.386 EXPAND %1\$FIX$\VDDD.38_ %2\SYSTEM\VDDD.386
IF EXIST %2\SYSTEM\WIFEDPD.DLL EXPAND %1\$FIX$\WIFEDPD.DL_ %2\SYSTEM\WIFEDPD.DLL
IF EXIST %2\WINHELP.EXE EXPAND %1\$FIX$\WINHELP.EX_ %2\WINHELP.EXE
IF EXIST %2\WINFILE.EXE EXPAND %1\$FIX$\WINFILE.EX_ %2\WINFILE.EXE
IF EXIST %2\WINVER.EXE EXPAND %1\$FIX$\WINVER._ %2\WINVER.EXE
:CHKDSK2
IF EXIST %1\$FIX$\IBMJ5577.DR_ GOTO COPYDSK2
ECHO Insert CSD 3.10F DISK2 in drive.
PAUSE
GOTO CHKDSK2
:COPYDSK2
IF EXIST %2\SYSTEM\IBMJ5577.DRV EXPAND %1\$FIX$\IBMJ5577.DR_ %2\SYSTEM\IBMJ5577.DRV
IF EXIST %2\SYSTEM\IBMJ5587.DRV EXPAND %1\$FIX$\IBMJ5587.DR_ %2\SYSTEM\IBMJ5587.DRV
IF EXIST %2\SYSTEM\IBMPAGES.DRV EXPAND %1\$FIX$\IBMPAGES.DR_ %2\SYSTEM\IBMPAGES.DRV
IF EXIST %2\SYSTEM\IBMPAGES.HLP EXPAND %1\$FIX$\IBMPAGES.HL_ %2\SYSTEM\IBMPAGES.HLP
IF EXIST %2\MSD.EXE EXPAND %1\$FIX$\MSD.EX_ %2\MSD.EXE
IF EXIST %2\SYSTEM\OEM_DA2.INF EXPAND %1\$FIX$\OEM_DA2.IN_ %2\SYSTEM\OEM_DA2.INF
IF EXIST %2\SYSTEM\OEM_ET4K.INF EXPAND %1\$FIX$\OEM_ET4K.IN_ %2\SYSTEM\OEM_ET4K.INF
IF EXIST %2\SYSTEM\OEM_XGA.INF EXPAND %1\$FIX$\OEM_XGA.IN_ %2\SYSTEM\OEM_XGA.INF
IF EXIST %2\SYSTEM\PS55DM20.JFD EXPAND %1\$FIX$\PS55DM20.JF_ %2\SYSTEM\PS55DM20.JFD
IF EXIST %2\SYSTEM\PS55FONT.FOD EXPAND %1\$FIX$\PS55FONT.FO_ %2\SYSTEM\PS55FONT.FOD
IF EXIST %2\README.WRI EXPAND %1\$FIX$\README.WR_ %2\README.WRI
IF EXIST %2\SETUP.EXE EXPAND %1\$FIX$\SETUP.EX_ %2\SETUP.EXE
IF EXIST %2\SYSTEM\SETUP.INF EXPAND %1\$FIX$\SETUP.IN_ %2\SYSTEM\SETUP.INF
IF EXIST %2\SYSTEM\UNIDRV.DLL EXPAND %1\$FIX$\UNIDRV.DL_ %2\SYSTEM\UNIDRV.DLL
IF EXIST %2\SYSTEM\WIN386.EXE EXPAND %1\$FIX$\WIN386.EX_ %2\SYSTEM\WIN386.EXE
:CHKDSK3
IF EXIST %1\$FIX$\101KBD.DR_ GOTO COPYDSK3
ECHO Insert CSD 3.10F DISK3 in drive.
PAUSE
GOTO CHKDSK3
:COPYDSK3
IF EXIST %2\SYSTEM\101KBD.DRV EXPAND %1\$FIX$\101KBD.DR_ %2\SYSTEM\101KBD.DRV
IF EXIST %2\CALC.EXE EXPAND %1\$FIX$\CALC.EX_ %2\CALC.EXE
IF EXIST %2\SYSTEM\DRIVERS.CPL EXPAND %1\$FIX$\DRIVERS.CP_ %2\SYSTEM\DRIVERS.CPL
IF EXIST %2\GAIJIEDT.EXE EXPAND %1\$FIX$\GAIJIEDT.EX_ %2\GAIJIEDT.EXE
IF EXIST %2\HINTS.TXT EXPAND %1\$FIX$\HINTS.TX_ %2\HINTS.TXT
IF EXIST %2\SYSTEM\IADRX.DLL EXPAND %1\$FIX$\IADRX.DL_ %2\SYSTEM\IADRX.DLL
IF EXIST %2\SYSTEM\IAFEP.EXE EXPAND %1\$FIX$\IAFEP.EX_ %2\SYSTEM\IAFEP.EXE
IF EXIST %2\SYSTEM\MOUSE.DRV EXPAND %1\$FIX$\MOUSE.DR_ %2\SYSTEM\MOUSE.DRV
IF EXIST %2\MPLAYER.EXE EXPAND %1\$FIX$\MPLAYER.EX_ %2\MPLAYER.EXE
IF EXIST %2\SYSTEM\MSIMER.DIC EXPAND %1\$FIX$\MSIMER.1IC %2\SYSTEM\MSIMER.001
IF EXIST %2\SYSTEM\MSIMER.DIC EXPAND %1\$FIX$\MSIMER.2IC %2\SYSTEM\MSIMER.002
IF EXIST %2\SYSTEM\MSIMER.DIC EXPAND %1\$FIX$\MSIMER.3-8 %2\SYSTEM\MSIMER.003
IF EXIST %2\SYSTEM\MSIMER.DIC COPY /B %2\SYSTEM\MSIMER.001+%2\SYSTEM\MSIMER.002+%2\SYSTEM\MSIMER.003 %2\SYSTEM\MSIMER.DIC
IF EXIST %2\SYSTEM\MSIMER.001 DEL %2\SYSTEM\MSIMER.00?
IF EXIST %2\SYSTEM\PCPR700.DRV EXPAND %1\$FIX$\PCPR700.DR_ %2\SYSTEM\PCPR700.DRV
IF EXIST %2\SYSTEM\PR101T.DRV EXPAND %1\$FIX$\PR101T.DR_ %2\SYSTEM\PR101T.DRV
IF EXIST %2\PRINTERS.WRI EXPAND %1\$FIX$\PRINTERS.WR_ %2\PRINTERS.WRI
IF EXIST %2\PROGMAN.EXE EXPAND %1\$FIX$\PROGMAN.EX_ %2\PROGMAN.EXE
IF EXIST %2\SYSTEM\PS55DSP4.DRV EXPAND %1\$FIX$\PS55DSP4.DR_ %2\SYSTEM\PS55DSP4.DRV
IF EXIST %2\SYSTEM\PS55DSP8.DRV EXPAND %1\$FIX$\PS55DSP8.DR_ %2\SYSTEM\PS55DSP8.DRV
IF EXIST %2\SYSTEM\RPDL.HLP EXPAND %1\$FIX$\RPDL.HL_ %2\SYSTEM\RPDL.HLP
IF EXIST %2\TERMINAL.EXE EXPAND %1\$FIX$\TERMINAL.EX_ %2\TERMINAL.EXE
IF EXIST %2\SYSTEM\VDDC24J.386 EXPAND %1\$FIX$\VDDC24J.38_ %2\SYSTEM\VDDC24J.386
IF EXIST %2\SYSTEM\VGA256CJ.DRV EXPAND %1\$FIX$\VGA256CJ.DR_ %2\SYSTEM\VGA256CJ.DRV
IF EXIST %2\SYSTEM\VGAC24J.2GR EXPAND %1\$FIX$\VGAC24J.2G_ %2\SYSTEM\VGAC24J.2GR
IF EXIST %2\SYSTEM\VGAC26J.DRV EXPAND %1\$FIX$\VGAC26J.DR_ %2\SYSTEM\VGAC26J.DRV
IF EXIST %2\SYSTEM\VGAMONO.DRV EXPAND %1\$FIX$\VGAMONO.DR_ %2\SYSTEM\VGAMONO.DRV
IF EXIST %2\SYSTEM\VKKFNCD.386 EXPAND %1\$FIX$\VKKFNCD.38_ %2\SYSTEM\VKKFNCD.386
IF EXIST %2\SYSTEM\WINOA386.MOD EXPAND %1\$FIX$\WINOA386.MO_ %2\SYSTEM\WINOA386.MOD
IF EXIST %2\SYSTEM\XGAJ31.DRV EXPAND %1\$FIX$\XGAJ31.DR_ %2\SYSTEM\XGAJ31.DRV
IF EXIST %2\SYSTEM\XGAVDDJ.386 EXPAND %1\$FIX$\XGAVDDJ.38_ %2\SYSTEM\XGAVDDJ.386
ECHO The operation completed!
GOTO END
:ERROR
ECHO Error: Invalid command argument.
ECHO An error has occurred!
:END
ECHO --- Exiting ---

[EOF]


comments powered by Disqus

※コメント欄が表示されない場合はdisqusについてJavascriptが有効であることを確認して下さい.

(C) 2008-2017 akm. Style based on sakmug. Host powered by Xdomain