home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
zipbo111.zip
/
ZIPBRREG.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-04-02
|
863b
|
33 lines
@echo off
echo -----== ZIP Brand FAST v1.11 Registration Script ==-----
rem This is the ZIP Brand FAST v1.11 Registration Batch File.
rem It is necessary to do the registration this way becaue
rem of the way OS/2 locks running files. Any suggestions on
rem how to do this more elegantly is higly appreciated...
if not exist ZIPBRAND.EXE goto errordir
copy ZIPBRAND.EXE ZIPb$REG.EXE >NUL
if not exist ZIPb$REG.EXE goto errornotcopy
ZIPb$REG.EXE ZbF$~Reg
attrib -h -s -r ZIPb$REG.EXE >NUL
del ZIPb$REG.EXE >NUL
if exist ZIPb$REG.EXE goto errornotdele
goto end
:errordir
echo ERROR - Must be run from the same location as ZIPBRAND.EXE.
goto end
:errornotcopy
echo ERROR - Could not copy ZIPBRAND.EXE. (Hidden? System? Locked?)
goto end
:errornotdele
echo WARNING - Could not delete temporary file: ZIPb$REG.EXE.
goto end
:end