home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR31
/
BW212OS2.ZIP
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-01-21
|
1KB
|
61 lines
@echo off
cls
echo Combining BWAVE2.INS with BWAVE2.EA, one moment...
if exist bwave2.exe goto BWAVE2_EXISTS
if not exist bwave2.ins goto MISSING_INS
if not exist bwave2.ea goto MISSING_EA
ren bwave2.ins bwave2.exe > nul
eautil bwave2.exe bwave2.ea /j > nul
if not exist bwave2.exe goto CREATE_ERROR
if exist bwave2.ea goto EAUTIL_ERROR
goto CREATE_OK
:CREATE_ERROR
echo.
echo BWAVE2.EXE was not created successfully.
echo.
echo Please be sure that BWAVE2.INS and BWAVE2.EA exist in the current
echo directory, then re-run INSTALL.CMD
goto END
:EAUTIL_ERROR
echo.
echo The OS/2 utility EAUTIL.EXE must also be on the system PATH. EAUTIL.EXE
echo should have been installed from the OS/2 installation disks/CDROM. If
echo you do not have EAUTIL.EXE, you will be missing the "Wave" icon, which
echo has been attached to the BWAVE2.EXE file as an extended file attribute.
echo.
echo You should still be able to run BWAVE2.EXE normally.
goto END
:CREATE_OK
echo BWAVE2.EXE has been created successfully.
goto END
:MISSING_INS
echo.
echo Cannot locate BWAVE2.INS!
goto EXPLAIN
:MISSING_EA
echo.
echo Cannot locate BWAVE2.EA!
goto EXPLAIN
:EXPLAIN
echo.
echo BWAVE2.INS and BWAVE2.EA must be in the current directory before running
echo the installation module.
goto END
:BWAVE2_EXISTS
echo.
echo BWAVE2.EXE already exists!
echo.
echo You must either delete or rename BWAVE2.EXE before installation.
goto END
:END
echo.