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