Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!njin!princeton!siemens!jrv From: jrv@siemens.UUCP (James R Vallino) Newsgroups: comp.sys.ibm.pc Subject: Re: Re^2: Paths > 128 characters AND OTHERS "FLAME" Message-ID: <7011@siemens.UUCP> Date: 26 Feb 89 00:56:02 GMT References: <455@ambone.UUCP> Reply-To: jrv@siemens.siemens.com (James R Vallino) Organization: Siemens RTL, Princeton, NJ Lines: 50 In article <455@ambone.UUCP> leif@ambone.UUCP (Leif Andrew Rump) writes: > And when the informations are wrong they get confused! > >Like this one: You have only added to the confusion with your posting. > >PAHT DELETED (NAME DELETED) writes: >>To get longer paths, you must increase your environment space. >>To do this you have to place the following line into CONFIG.SYS: >>SHELL=COMMAND.COM /P /E:2000 > >NO! I agree here. This only helps if the "Out of Environment Space" error appears when trying to set an environment variable. ... [some stuff deleted] >>I hope this helps. > >It don't! It GIVES you are larger environment space but DOS won't >allow a path that is longer than 128 bytes! Actually DOS don't allow >any environment variable that's longer than ~128 bytes (including the >name of the environment variable) > ... [details of experiment using SET in a batch file deleted] What you are confusing here is what DOS can internally handle for an environment variable and the DOS command line buffer. The command line buffer is around 128 characters long. This is what limits the size of the environment variable when using the SET command. DOS itself can handle a PATH variable longer than 128 characters. The problem is how to get the value set in DOS's environment space. I have seen one or two utilties which directly mess around with DOS's internal environment space to create very long PATH variables. Unfortunately I do not remember the names of them{ > >TRY IT OUT BEFORE YOU SUBMIT YOUR WORDS OF WISDOM!!!!!!!!!! Check it out before submitting your flames. -- Jim Vallino Siemens Corporate Research, Princeton, NJ jrv@siemens.siemens.com princeton!siemens!jrv (609) 734-3331