home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
xr6110d6.dsk
/
DBINST.CMD
next >
Wrap
OS/2 REXX Batch file
|
1993-04-10
|
624b
|
33 lines
@echo off
echo
if "%1" == "" goto nodrive
goto chkdrive
:nodrive
echo [DBUGINST] Error ! - No drive letter specified
goto err_exit
:chkdrive
attrib %1:\os2ldr.msg -h -s -a -r
if exist %1:\os2ldr.msg goto install
echo [DBUGINST] Error ! - Invalid drive letter specified ... (%1)
goto err_exit
:install
echo [DBUGINST] Installing to drive %1:
echo [DBUGINST]
pause
%1:
cd \
dbuginst.exe %1
goto exit
:err_exit
echo [DBUGINST]
echo [DBUGINST] Usage: dbinst.cmd drive-letter
echo [DBUGINST]
echo [DBUGINST] (Note: You must omit the colon after the drive letter)
:exit
echo on