Arachne at FreeLists---The Arachne Fan Club! Greg, Just like I think you did, since path is an environment variable, I took it as a given that it's size is limited by the size of the environment. That may also account for the fact that I could only get 623 characters of length with the batch file. I'm not sure of my environment size. Is there a utility that displays it? My DOS bible says the environment size can be up to 32Kbytes . Eric On Wed, 29 Nov 2006 09:45:39 +1030 "Greg Mayman" <gmone@xxxxxxxxxx> writes: > Arachne at FreeLists---The Arachne Fan Club! > > On Tue, 28 Nov 2006 14:12:37 +0000, Udo Kuhnt wrote: > > > However, there is a second limit that nobody on this list seems to > be > > aware of: Since PATH is an environment variable, its length is > also > > limited by the size of the environment space. So if you have set > /E:384, > > then all environment variables together cannot become larger than > 384 B. > > I was wondering when someone would notice that <GGGGGGGGGGGGG> > > > But it is rather interesting to read that MS-DOS 7 uses a much > larger > > command line buffer. I always thought that 128 characters is too > > short, particularly when running programs that had originally been > > developed for Unix. > > I ran into a 127 byte limit when entering stuff from the keyboard, > but > the 1023 limit in batch files. > > Why should they be different..... > > Yeah, I know: it's just because they are <GGGGGGGGGGG> > > . ,-./\ > . / \ from Greg Mayman, in Adelaide, South Australia > . \_,-*_/ "Queen City of The South" 34:55 S 138:36 E > . v > > Arachne at FreeLists > -- Arachne, The Premier GPL Web Browser/Suite for DOS -- > > Arachne at FreeLists -- Arachne, The Premier GPL Web Browser/Suite for DOS --