Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!decwrl!shlump.nac.dec.com!clove!rothstein From: rothstein@nutmeg.Enet.DEC.com (Lee Rothstein, 603-884-0039) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: How do I make my path bigger? Message-ID: <9393@shlump.nac.dec.com> Date: 19 Mar 90 23:52:09 GMT Sender: newsdaemon@shlump.nac.dec.com Organization: DEC, TTB1-2/F05, Ten Tara Boulevard, Nashua, NH 03062 Lines: 47 In article <100010002@hpcupt1.HP.COM>, bmp@hpcupt1.HP.COM (Brian M. Perkin) writes... >I earlier wrote: > ># / hpcupt1:comp.sys.ibm.pc.programmer / bmp@hpcupt1.HP.COM (Brian M. Perkin) / 7:12 pm Mar 9, 1990 / ># Have more than one path statement, where ># the second statement references the first as %%PATH%%%PATH% . > >It appears ( from the polite and other messages I received) >that I was STTY'ed wrong when I typed this. > >The variable used to expand the previous definition of the >path string should be %PATH%. > >For example > >Set path=c:\;c:\bin >and >Set path=%path%;c:\etc > >will expand as you would expect. >(Dos documentation treats the Path command and set path= as synonomous.) This has been proposed many times. It does not work on any version of DOS, on any 80x86 hardware I have ever seen!! Why? Because the expansion of the environment variable on the right side of the assign is done before it is submitted to command.com and therfore the 128 character truncation of the command line still occurs. For versions of DOS before 3.3, enved by Scott Robert Ladd can be used from a batch file to set a path <= 256 characters. Enved does not work with DOS 3.3, at least for the versions with which I'm familiar. Can we please not propigate the same wrong answers ad nauseum? Thanks! +---------------------------------------------------------+ | Lee Rothstein * UUCP: {purdue,ucbvax,hplabs,labrea,sun, | | pyramid,gryphon,angelo}!decwrl!nutmeg.dec.com!rothstein| | * Arpa/Domain Address: rothstein@nutmeg.enet.dec.com | +---------------------------------------------------------+