home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 December
/
VPR9712B.ISO
/
IBM_OS
/
CSD
/
WARP4
/
FX00002
/
SERVICE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-05-30
|
2KB
|
66 lines
@echo off
cls
setlocal
if '%1'=='' goto skip_arch
set CSD_ARCHIVE=%1
:skip_arch
if not '%CSD_SOURCE%'=='' goto entry
@echo on
@echo .
FixPak FX00002 を適用されるお客様へ
@echo .
@echo . この FixPak が適用可能なシステムは、以下の通りです。
@echo .
@echo . o OS/2 Warp Version 4 - 日本語版 (XRJ4000_)
@echo .
@echo . 詳細は
README.TXT
を参照してください。
@echo .
@echo off
pause
if '%CSD_SOURCE%'=='' goto check
:entry
@echo off
set t=%CSD_TARGET%
set s=%CSD_SOURCE%
For %%v In (UnPack2 Erase Copy) Do Set %%v=%%v
set STDOUT=NUL
set STDERR=NUL
:start
echo ------------------------------------- 1>%STDOUT% 2>%STDERR%
%copy% %s%\UNPACK2.EXE %t%\ 1>%STDOUT% 2>%STDERR%
%copy% %s%\csdcmd.exe %t%\ 1>%STDOUT% 2>%STDERR%
%copy% %s%\csdinst.exe %t%\os2\install 1>%STDOUT% 2>%STDERR%
%unpack2% %s%\csdtools %t%\ /P 1>%STDOUT% 2>%STDERR%
%t%
%t%\csdcmd.exe /c %t%\service2.cmd
%erase% %t%\rplserv2.cmd 1>%stdout% 2>%stderr%
if not '%csd_boot%'=='A:' goto skip_rexx
rem if not exist %s%\fix\os2.1\REXX goto skip_rexx
if '%csd_archive%'=='/r' goto arch_rexx
if '%csd_archive%'=='/R' goto arch_rexx
rem %unpack2% %s%\fix\os2.1\REXX %t%\ /P 1>%stdout% 2>%stderr%
goto skip_rexx
:arch_rexx
%copy% %t%\REXX.DLL %t%\OS2\DLL 1>%STDOUT% 2>%STDERR%
%copy% %t%\REXXAPI.DLL %t%\OS2\DLL 1>%STDOUT% 2>%STDERR%
%copy% %t%\REXXUTIL.DLL %t%\OS2\DLL 1>%STDOUT% 2>%STDERR%
%erase% %t%\REXX.DLL 1>%STDOUT% 2>%STDERR%
%erase% %t%\REXXAPI.DLL 1>%STDOUT% 2>%STDERR%
%erase% %t%\REXXUTIL.DLL 1>%STDOUT% 2>%STDERR%
:skip_rexx
if not exist %t%\service2.cmd goto end
call %s%\ptf_end %t%\service2.cmd
if '%csd_boot%'=='A:' goto end
pause 1>%stdout% 2>%stderr%
goto end
:check
if '%csd_archive%'=='/r' goto service2
if '%csd_archive%'=='/R' goto service2
call csdinst @CSD.DAT /b:SERVICE.CMD /f
goto end
:service2
call csdinst @CSDR.DAT /b:SERVICE.CMD /f
:end