home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 July
/
VPR9607B.BIN
/
ibm_os
/
sx63004
/
sx63004s.3
/
SYMINST.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-05-01
|
770b
|
32 lines
@echo off
setlocal
if not '%1'=='/d' goto sym_skip1
set csd_symopt=%1
:sym_skip1
if '%CSD_SOURCE%'=='' goto check
set t=%CSD_TARGET%
set s=%CSD_SOURCE%
For %%v In (ChgAttr 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%
%unpack2% %s%\symtools %t%\ /P 1>%STDOUT% 2>%STDERR%
%t%
if not '%csd_boot%'=='A:' goto skip_csfinit
cd \os2\dll
csfinit
cd \
:skip_csfinit
%t%\syminst2.cmd
goto end
:check
if not '%csd_symopt%'=='' goto sym_skip2
call csdinst @SYMINST.DAT /b:SYMINST.CMD /f
goto end
:sym_skip2
call csdinst @SYMRESET.DAT /b:SYMINST.CMD /f
:end