home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1998 October / VPR9810B.BIN / IBM_OS / JDK116 / JAVAINUF.ZIP / maketmp.cmd < prev    next >
OS/2 REXX Batch file  |  1998-05-14  |  665b  |  23 lines

  1. /* rexx */
  2. parse arg fHandle bootdrive switch
  3. call RxFuncAdd 'RexxInstResolveVariables', 'WPINSTAL', 'RexxInstResolveVariables'
  4.  
  5. continue = RexxInstResolveVariables( fHandle, "{Continue}", 1)
  6.  
  7. if (switch == "erase") then
  8.      DO
  9.         if continue = "UNATTENDED" then EXIT
  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
  19.      DO
  20.         if continue = "UNATTENDED" then EXIT
  21.         'syslevel > 'bootdrive'\kmcrpc10.sl'
  22.      END
  23.