home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk470.lzh / KeyMenu / InstallHandler < prev    next >
Text File  |  1991-03-10  |  677b  |  25 lines

  1. .K ""
  2. echo "This script will install KeyMenu-Handler, after checking to see"
  3. echo "if you already have one.  If so, it will give you the option of"
  4. echo "installing the one in this directory."
  5. echo ""
  6.  
  7. if not EXISTS l:KeyMenu-Handler
  8.     echo "No existing handler, installing l:KeyMenu-Handler..."
  9.     copy KeyMenu-Handler l:KeyMenu-Handler
  10. else
  11.     echo "Examine the sizes and dates of each handler."
  12.     echo ""
  13.     list l:KeyMenu-Handler
  14.     list KeyMenu-Handler
  15.     echo ""
  16.     ask "Do you wish to overwrite l:KeyMenu-Handler?"
  17.     if WARN
  18.         echo "Updating l:KeyMenu-Handler..."
  19.         copy KeyMenu-Handler l:KeyMenu-Handler
  20.     endif
  21. endif
  22.  
  23. echo "All Done.  Click close gadget to get rid of window."
  24. endcli
  25.