Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!oxtrap!mudos!mju From: mju@mudos.ann-arbor.mi.us (Marc Unangst) Newsgroups: comp.sys.ibm.pc Subject: Re: DOS 3.30 PATH and Environment lengths Message-ID: <588.24D0C062@mudos.ann-arbor.mi.us> Date: 28 Jul 89 07:15:07 GMT Reply-To: mju@mudos.ann-arbor.mi.us Organization: FidoNet node 1:120/129 - Starship Enterprise, Ann Arbor MI Lines: 25 In article <2811@ndsuvax.UUCP>, nebezene@ndsuvax.UUCP (Todd M. Bezenek KO0N) writes: >In article <3695@i.sei.cmu.edu> gjp@sei.cmu.edu (George Pandelios) >writes: >>Greetings Netlanders! >> >>I'm having trouble setting my PATH to a length larger than an small >>(127?) number of characters. > >Try putting a "shell=..." into your config.sys. This will start >a new shell (in your case DOS). With this new DOS shell, you can >specify the environment size with the /e option. Unfortunately, this won't help. It is impossible to set an environment variable longer than the DOS command-line length without some fairly extensive work-arounds. Since 127 characters is the longest command line you can enter (this holds true for batch files, too), you can't set a path longer than 127 characters. I think you'll have to use SUBST. -- Marc Unangst UUCP smart : mju@mudos.ann-arbor.mi.us UUCP dumb : ...!uunet!sharkey!mudos!mju UUCP dumb alt.: ...!{ames,rutgers}!mailrus!clip!mudos!mju Internet : mju@mudos.ann-arbor.mi.us