home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff321.lzh / IconJ / IconJ-Startup < prev    next >
Text File  |  1990-02-27  |  1KB  |  32 lines

  1. ;    This is a sample file for IconJ-Startup.
  2. ;    Typical IconJ tasks will not require this script; it is activated only
  3. ; when the STARTUP switch is set in the SCRIPT= tool type.  If you don't
  4. ; know that you want it, then you probably don't.
  5. ;    IconJ-Startup should set up a known environment (paths, aliases, etc.)
  6. ; for shells/CLIs called up by IconJ.  Note that no path is inherited by
  7. ; an IconJ script--it only knows current directory and "C:".  Neither this
  8. ; script, nor any script that it calls, should require interaction with the
  9. ; user (keyboard input).
  10.  
  11. ;    Rich Franzen, Jan90
  12.  
  13. path reset
  14. path sys:system add     ; with Arp, these 3 path lines could be
  15. path sys:utilities add  ; combined into just one:
  16. path s: add             ;   path sys:system sys:utilities s: add
  17.  
  18. execute s:Shell-Startup ; activate normal aliases, etc.
  19.  
  20.  
  21. ;    The following command line deletes temporary files created by the
  22. ; Execute command.  Execute sometimes creates files with a name such as
  23. ; "Command-00-T04"; since IconJ uses Execute, these temporary files
  24. ; sometimes get left in the "T:" drawer.  Some folks object to their
  25. ; presence (Execute should really clean up after itself!).  If they bother
  26. ; you, this is one way to get rid of old ones.
  27.  
  28. delete >nil: T:Command-#?   ; deleted whether involved with IconJ or not
  29.  
  30.  
  31. echo "IconJ-Startup has completed."
  32.