home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10621 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.6 KB

  1. Xref: sparky comp.os.msdos.programmer:10621 comp.os.msdos.misc:6149
  2. Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!att-out!cbfsb!cbnewsg.cb.att.com!rbrager
  4. From: rbrager@cbnewsg.cb.att.com (rbrager)
  5. Subject: Re: Path cutoffs {Re: Environment size hack in DOS 5?}
  6. Message-ID: <1992Nov14.145256.25405@cbfsb.cb.att.com>
  7. Sender: news@cbfsb.cb.att.com
  8. Organization: AT&T
  9. References: <1992Nov13.191154.16202@ra.msstate.edu>
  10. Date: Sat, 14 Nov 1992 14:52:56 GMT
  11. Lines: 27
  12.  
  13. From article <1992Nov13.191154.16202@ra.msstate.edu>, by jdz1@Ra.MsState.Edu (John D. Zitterkopf):
  14. > Hi,
  15. >     I have a simuliar problem that might be releated to the previous
  16. > question. The problem seems to be that When I install new programs on my 
  17. > computer they automaticly add their paths to my path statement in the 
  18. > Autoexec.BAT. Now after adding so many programs and paths to my path 
  19. > statement, the path statement gets cutoff at a certain location 8-(.
  20. >     I think that I have tried a /e or something simulair in my Shell
  21. > statement to increase the size of ENV. table. But this seems to not
  22. > correct the problem. Is there a way to correct this other than deleteing
  23. > some of the old paths?
  24. > Thanks!
  25. > John
  26.  
  27. Did you also use the "/p" switch so a child process can inherit the
  28. size.  DOS truncates commands at 127 chars, so a long path must be
  29. built up a piece at a time.  There are several programs that will
  30. do this.  I use "appenv' as in:
  31.  
  32. PATH=c:\bin;c:\usr\bin;\c:\local\bin
  33. appenv;c:\wordstar;c:\grammatik
  34. appenv=;c:\windows;c:\windows\apps
  35.  
  36. Robert B. Rager
  37.  
  38. Ain't no place like ${HOME}; not even C:\.
  39.