home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / apps / 4614 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.7 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!cs.utexas.edu!sun-barr!olivea!apple!apple!netcomsv!mork!xtifr
  2. From: xtifr@netcom.com (Chris Waters)
  3. Newsgroups: comp.os.os2.apps
  4. Subject: Re: 4OS2 aliasing at startup?
  5. Keywords: 4os2, startup, aliases, cheesecake
  6. Message-ID: <0mdm4vg.xtifr@netcom.com>
  7. Date: 21 Jul 92 09:53:43 GMT
  8. References: <14fn21INNiat@agate.berkeley.edu>
  9. Distribution: na
  10. Organization: Netcom - Online Communication Services  (408 241-9760 guest)
  11. Lines: 27
  12.  
  13. In <14fn21INNiat@agate.berkeley.edu> boss@soda.berkeley.edu (Brion "Imp" Moss) writes:
  14.  
  15. >I would like to load an alias file at the start of every 4OS2 session, so
  16. >that every time I open an OS/2 window it starts out with all the aliases
  17. >set up in my alias file.  Also, I'd like to run the SUBST command at the
  18. >start off each 4OS2 session.  Could some kind (of) person tell me how this
  19. >can be done?
  20.  
  21. Best way I've found so far to get global aliases loaded at startup is to
  22. create a STARTUP.CMD file in the root directory of your boot drive, with
  23. the following:
  24.  
  25. \4os2\shralias
  26. alias /r \4os2\aliases
  27.  
  28. Substitute the appropriate path for the shralias program (supplied with
  29. 4OS2) and your alias file.
  30.  
  31. As for SUBST, I don't believe that this works in OS/2 at all, though it
  32. does work in a VDM.  SUBST, JOIN and APPEND are all potentially
  33. hazardous commands--they lie to the system about what's going on, and
  34. things can get very confused.  Personally, I *really* wish that OS/2 had
  35. hard and soft links, which would remove the need for these wierd DOS
  36. commands, and would provide additional functionality as well.
  37. -- 
  38. Chris Waters    | the insane don't | NOBODY for President!
  39. xtifr@netcom.COM| need disclaimers | Because Nobody's perfect!!
  40.