home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / jumpkey.zip / jumpcid.cmd < prev    next >
OS/2 REXX Batch file  |  1996-05-14  |  1KB  |  32 lines

  1. /***********************************************************************
  2. **   JUMPCID.CMD
  3. **
  4. **   For a fully-AUTOMATED install of JumpKey
  5. **      There will be no user interaction if the file is used.
  6. **
  7. **   Version 2.3.0
  8. **
  9. **   Arguments:
  10. **     Target_directory
  11. **   If not specified:
  12. **     Assumed target directory = C:\JUMPKEY
  13. **   Log files are written to the root of drive C:
  14. **
  15. ************************************************************************/
  16. parse arg trgdir
  17.  
  18. srcdir = directory()                      /* Source Directory             */
  19. if "" = trgdir then trgdir = 'C:\JUMPKEY'  /* Target Directory            */
  20.  
  21. catfile  = srcdir||'\JMP230.ICF'           /* Fully Qualified Catalog File */
  22. rspfile  = srcdir||'\JMP230.RSP'          /* Response File                */
  23.  
  24. elogfile = 'C:\JMPERR.LOG'                /* Error Log file               */
  25. hlogfile = 'C:\JMPINST.LOG'               /* Install History Log file     */
  26.  
  27. srctype  = 'DRIVE'                        /* Type of source               */
  28. pkgname  = '"IBM JumpKey/2"'              /* Package Name                 */
  29.  
  30. 'install /x /a:I /c:'catfile' /l1:'elogfile' /l2:'hlogfile' /o:'srctype' /p:'pkgname' /r:'rspfile' /s:'srcdir' /t:'trgdir
  31. return rc
  32.