home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Archiver / ARCHNDL1.LHA / ARCHandler / ARC < prev    next >
Encoding:
Text File  |  1994-07-06  |  580 b   |  18 lines

  1. ; little script to get ARCHandler running on every Workbench version >= 2.04
  2.  
  3. ; check kickstart
  4. Version >NIL: VERSION=37
  5. If WARN
  6.   Echo "ARCHandler needs Kickstart 2.04 or newer!"
  7. Else
  8.   ; try to find LhA
  9.   S/WhichLhA
  10.   If "$lhapath" EQ ""
  11.     Echo "Can't find LhA!*NARCHandler needs LhA."
  12.   Else
  13.     Echo >T:ARCMountList "ARC: Handler=L/arc-handler*NStartup=*"LHA='$lhapath' DISKICON='DEVS:ARCDisk_info' DRAWERICON='DEVS:ARCDrawer_info'*"*NStackSize=4096*NPriority=1*NGlobVec=-1*NMount=1*N#"
  14.     Mount >NIL: ARC: FROM T:ARCMountList
  15.     Delete >NIL: T:ARCMountList
  16.   EndIf
  17. EndIf
  18.