Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!fozzie!stanley From: stanley@phoenix.com (John Stanley) Newsgroups: comp.os.msdos.programmer Subject: Re: PATH statement Message-ID: Date: 8 Feb 91 17:48:00 GMT References: <1991Feb8.072845.2809@rice.edu> Organization: Not BIFF At All (NBAA) Lines: 23 glratt@uncle-bens.rice.edu (Glenn Forbes Larratt) writes: > In article <26780@uflorida.cis.ufl.EDU> jdb@reef.cis.ufl.edu (Brian K. W. Hoo > > > >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: > > > 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: I have never seen a 15/16 directory path limit. I have seen the 127 character line length limit. Under 3.3, my current PATH is: PATH=C:\DOS;C:\;H:\;I:\;J:\;K:\;L:\;M:\;N:\;O:\;P:\;Q:\;R:\;T:\;U:\; V:\;W:\;X:\;Y:\;Z:\;C:\BATS which is 21, if I counted right. I have SUBST's for everything from H: to Z:, except S:. If you can't use SUBST's, you will probably be stuck creating a BAT directory with bat files to run everything.