home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Java / Java.zip / java114.zip / maketmp.cmd < prev    next >
OS/2 REXX Batch file  |  1997-11-03  |  583b  |  19 lines

  1. /* rexx */
  2. parse arg fHandle bootdrive switch
  3. call RxFuncAdd 'RexxInstResolveVariables', 'WPINSTAL', 'RexxInstResolveVariables'
  4.  
  5. continue = RexxInstResolveVariables( fHandle, "{Continue}", 1)
  6. if continue = "UNATTENDED" then EXIT
  7.  
  8. if (switch == "erase") then
  9.      DO
  10.         'erase 'bootdrive'\kmcrpc10.sl';
  11.         EXIT
  12.      END
  13. if (switch == "applet") then
  14.      DO
  15.         drive = RexxInstResolveVariables( fHandle, "{RUNDRV}", 1)
  16.         'COPY ' drive'\java11\bin\applet.exe 'drive'\java11\bin\appletviewer.exe'
  17.      END
  18. else 'syslevel > 'bootdrive'\kmcrpc10.sl'
  19.