home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
grxdm2.zip
/
MAKEDISK.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-04-20
|
1KB
|
31 lines
@ echo off
if "%2"=="a:" goto Param1
if "%2"=="A:" goto Param1
if "%2"=="b:" goto Param1
if "%2"=="B:" goto Param1
goto instructions
:Param1
if "%1"=="1" goto Doit
if "%1"=="2" goto Doit
if "%1"=="3" goto Doit
goto instructions
:Doit
label %2GPFREXX_%1/3
PKUNZIP -d %1of3_img %2\
echo Remove GpfRexx demo disk %1 of 3 from drive %2
goto end
:instructions
echo ******************************************************************
echo This command file creates a Gpf Update installation diskette
echo on a blank, formatted 3.5" High density floppy.
echo ******************************************************************
echo Usage: MAKEDISK disknum drive
echo Where:
echo disknum = 1,2, or 3 per the desired inatallation diskette
echo drive = target floppy disk drive, with the colon (A: or B:)
echo -
echo The target diskette must be 3.5" HD (1.44 MB) blank but formatted diskette.
echo Disk 1 of 3 = file 1OF3_IMG.ZIP
echo Disk 2 of 3 = file 2OF3_IMG.ZIP
echo Disk 3 of 3 = file 3OF3_IMG.ZIP
:end