home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / grxdm2.zip / MAKEDISK.CMD < prev    next >
OS/2 REXX Batch file  |  1994-04-20  |  1KB  |  31 lines

  1. @ echo off
  2. if "%2"=="a:" goto Param1
  3. if "%2"=="A:" goto Param1
  4. if "%2"=="b:" goto Param1
  5. if "%2"=="B:" goto Param1
  6. goto instructions
  7. :Param1
  8. if "%1"=="1" goto Doit
  9. if "%1"=="2" goto Doit
  10. if "%1"=="3" goto Doit
  11. goto instructions
  12. :Doit
  13. label %2GPFREXX_%1/3
  14. PKUNZIP -d %1of3_img %2\
  15. echo Remove GpfRexx demo disk %1 of 3 from drive %2
  16. goto end
  17. :instructions
  18. echo ******************************************************************
  19. echo  This command file creates a Gpf Update installation diskette 
  20. echo  on a blank, formatted 3.5" High density floppy.
  21. echo ******************************************************************
  22. echo  Usage: MAKEDISK disknum drive
  23. echo    Where: 
  24. echo      disknum = 1,2, or 3 per the desired inatallation diskette
  25. echo      drive = target floppy disk drive, with the colon (A: or B:)
  26. echo -
  27. echo  The target diskette must be 3.5" HD (1.44 MB) blank but formatted diskette.
  28. echo       Disk 1 of 3 = file 1OF3_IMG.ZIP
  29. echo       Disk 2 of 3 = file 2OF3_IMG.ZIP
  30. echo       Disk 3 of 3 = file 3OF3_IMG.ZIP
  31. :end