home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 30 fixes_v
/
30-fixes_v.zip
/
xyqcsdc.zip
/
SERVICE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-03-19
|
1KB
|
51 lines
/* */
/* XY-Query CSD C Service CMD file */
/* */
share = 'OS2ENVIRONMENT'
xyqpath = VALUE('XYQPATH',,share)
if xyqpath = '' then signal notsetup
SAY ' '
SAY '*************************'
SAY '* XY-Query ServicePak C *'
SAY '*************************'
SAY ' '
SAY 'If XY-Query is running, it will be terminated by the service procedure.'
SAY ' '
SAY 'This service must only be applied to XY-Query version 1.0'
SAY ' '
SAY 'Do you wish to apply service to 'xyqpath' (Y/N)?'
PULL answer
if answer <> 'Y' then
DO
SAY 'Service not applied.'
signal end
END
SAY ' '
SAY 'Applying service...'
'zap.exe xyqmon.exe'
'zap.exe xyquery.exe'
'xcopy xyqinst.exe ' xyqpath
'xcopy xyqfn.dll ' xyqpath
'xcopy xyqrexfn.dll ' xyqpath
'xcopy syslevel.xyq ' xyqpath
signal okay
notsetup:
SAY ' '
SAY 'The XYQPATH variable is not set.'
SAY 'Please ensure that XY-Query is installed correctly.'
signal end
okay:
SAY ' '
SAY 'Service has been applied to ' xyqpath
signal end
end: