home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / introduc / 1470 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!dptspd!fezzik!fcircus.sat.tx.us!David_Corn
  2. From: David_Corn@fcircus.sat.tx.us (David Corn)
  3. Subject: Re: Execution Path?
  4. References: <1992Nov7.062023.27539@netcom.com>
  5. Newsgroups: comp.sys.amiga.introduction
  6. X-NewsSoftware: BBX-UMB 0.26b beta (Nov 06 1992)
  7. Message-ID: <David_Corn.0j29@fcircus.sat.tx.us>
  8. Date: 7 Nov 92 14:18:41 CST
  9. Organization: The Flying Circus Amiga BBX, San Antonio, Texas
  10. Lines: 45
  11.  
  12.  
  13. In <1992Nov7.062023.27539@netcom.com>, fuzzy@netcom.com (Fuzzy Fox) writes:
  14. > Someone asked if there is a way to move commands out of the C: directory
  15. > and have AmigaDOS still find them to execute them.  The answers posted
  16. > so far are:  (1) use the PATH command or (2) use multiple ASSIGN to
  17. > extend C: to more than one directory.
  18. > My questions is, are either of these features actually available on
  19. > OS1.2?  I believe the original poster stated that this is the system he
  20. > is using.
  21. > -- 
  22. > #ifdef TRUE         | Fuzzy Fox                  fuzzy@netcom.com
  23. > #define  TRUE   0   | a.k.a. David DeSimone      an207@cleveland.freenet.edu
  24. > #define  FALSE  1   |   "History doesn't repeat itself, but it rhymes."
  25. > #endif              |                               -- Mark Twain
  26.  
  27. Of course.
  28.  
  29. Say you have NOTHING in DF0:C, and you have all your commands (that
  30. WOULD be in DF0:C) in X: (DF0:X).  
  31.  
  32. You'd put, in the startup sequence:
  33.   df0:x/path df0:x add
  34.  
  35. And from then on, every time you entered a command, DF0:x would be
  36. searched before DF0:c.  If you wanted df0:c to be searched first, then
  37. you'd put a path df0:c add after the command above.
  38.  
  39. This would, of course, also work under WB2.0 and with a hard drive,
  40. although with 2.0 PATH is built in, so no path is required in front of
  41. the command in order to load it.  So in 2.0, you'd put:
  42.   path df0:x add
  43.  
  44. since PATH is in ROM.
  45.  
  46.  
  47. Any other questions?
  48.  
  49.  
  50. David Corn
  51.  
  52. -- 
  53. David_Corn@fcircus.sat.tx.us
  54. .. david corn ...
  55.