Xref: utzoo comp.os.msdos.misc:1095 comp.os.msdos.programmer:3230 comp.os.msdos.apps:1001 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uncle-bens.rice.edu!glratt From: glratt@uncle-bens.rice.edu (Glenn Forbes Larratt) Newsgroups: comp.os.msdos.misc,comp.os.msdos.programmer,comp.os.msdos.apps Subject: Re: PATH statement Message-ID: <1991Feb8.072845.2809@rice.edu> Date: 8 Feb 91 07:28:45 GMT References: <26780@uflorida.cis.ufl.EDU> Sender: news@rice.edu (News) Organization: Rice University Lines: 36 In article <26780@uflorida.cis.ufl.EDU> jdb@reef.cis.ufl.edu (Brian K. W. Hook) writes: > >My path statement has exceeded the legal limit allowed by DOS. Is there >any way to extend this? I thought the standard way would be to do: > >CONFIG.SYS: > >shell=c:\command.com /e:512 /p > >Since my environment space was initially set to 256bytes. Adding another >256 did not help. I have one hard drive, so I have lots of stuff like: > >PATH=C:\BIN\WINDOWS;C:\BIN\WINDOWS\EXCEL;C:\DOS\UTILS\NORTON50;etc. etc. Expanding your environment space will only help if the error you're getting is "Out of environment space" (pardon the Blinding Flash of the Obvious - see below). If by "has exceeded the legal limit allowed by DOS," you mean it has more than 15/16 (can't remember which) directory paths specified, there is no way in DOS that I know of to do this: however, a good solution is to have a \BAT subdirectory which would be first or at least early in your path: this would allow you to encapsulate particular software in a batch file that temporarily adds the necessary path to your search path, executes your program by full pathname (e.g. \DOS\UTILS\NORTON45\NI; this allows you to name your batch file \BAT\NI.BAT), then prunes the search path. Some organization along these lines can go a long way. Hope this helps. -- Glenn Larratt glratt@uncle-bens.rice.edu Computing Resource Center OCIS, Rice University, Houston, Texas