Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!psueea!parsely!bucket!leonard From: leonard@bucket.UUCP (Leonard Erickson) Newsgroups: comp.sys.ibm.pc Subject: Re: How can I set a PATH longer than 128 bytes ? Keywords: PATH Message-ID: <1974@bucket.UUCP> Date: 1 Mar 90 22:21:51 GMT References: <5762@ncrcae.Columbia.NCR.COM> Distribution: usa Organization: Rick's Home-Grown UNIX; Portland, OR. Lines: 19 heath@ncrcae.Columbia.NCR.COM (Robert Heath) writes: >How can I set my dos PATH variable longer than 128 bytes? I'm running >DOS 3.3. It seems when I set my PATH variable in my AUTOEXEC.BAT, >DOS truncates anything longer than 128 bytes. Is there a way to do >this by assigning shorter environment variables and concatenating >them somehow ? Thanks. You can't. DOS has an internal buffer somewhere that is only 128 bytes long. Even if you stuffed something longer into the PATH variable somehow, it'd get truncated when DOS used it. This is a built-in limitation of MS-DOS/PC-DOS. You'll have to live with it. -- Leonard Erickson ...!tektronix!reed!percival!bucket!leonard CIS: [70465,203] "I'm all in favor of keeping dangerous weapons out of the hands of fools. Let's start with typewriters." -- Solomon Short