Xref: utzoo comp.os.msdos.misc:1308 comp.os.msdos.programmer:3677 comp.os.msdos.apps:1182 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!jarthur!ucivax!orion.oac.uci.edu!biivax.dp.beckman.com!daparish From: daparish@biivax.dp.beckman.com Newsgroups: comp.os.msdos.misc,comp.os.msdos.programmer,comp.os.msdos.apps Subject: Re: PATH statement Message-ID: <1991Feb15.180236.165@biivax.dp.beckman.com> Date: 16 Feb 91 01:02:36 GMT References: <26780@uflorida.cis.ufl.EDU> Lines: 20 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: > shell=c:\command.com /e:512 /p > PATH=C:\BIN\WINDOWS;C:\BIN\WINDOWS\EXCEL;C:\DOS\UTILS\NORTON50;etc. etc. > I tried using the SUBST for the more frequently accesed directories: > SUBST U: C:\DOS\UTILS > So I could use U: instead, but Windows 3.0 chokes on the SUBST command. > Brian I suggest creating a c:\bat directory which is included in the PATH. remove for example c:\dos\util\norton50, create a batch file \BAT\NU.BAT = c:\dos\norton\nu %1 %2 or whatever. and add any other dos commands required (such as cd if necc.). do the same for any other programs. this keeps the path short for a very small overhead (and saves searching all those damn directories for every command).