[arachne] Re: Maximum length of PATH

  • From: "Greg Mayman" <gmone@xxxxxxxxxx>
  • To: arachne@xxxxxxxxxxxxx
  • Date: Wed, 29 Nov 2006 09:45:39 +1030

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 --

Other related posts: