Article View: comp.sys.ibm.pc
Article #43784expanding the environment / path over 128 bytes
From: tpf4434
Date: Fri, 09 Mar 1990 04:49
Date: Fri, 09 Mar 1990 04:49
56 lines
2554 bytes
2554 bytes
To: piety@hplred.HP.COM
Subject: Re: How can I set a PATH longer than 128 bytes ?
Newsgroups: comp.sys.ibm.pc
In-Reply-To: <17140003@hplred.HP.COM>
References: <5762@ncrcae.Columbia.NCR.COM>
Organization: ops
Cc:
Bcc:
In article <17140003@hplred.HP.COM> you write:
>Robert, I wish I knew the answer to this problem myself. If you find
>out, please let me know.
>
>My solution around this problem was to rename my directories, using
>short names, so I could get everything I needed to fit into the 128
>char limit. Also, I broke up the paths into several batch files, each
>for a specific purpose. For example, cdev.bat sets up only the paths
>& environmental variables necessary for C-code development.
>
>I know the above is a hack, but it *does* get around the limit problem.
>
>Bob
I didn't see your original request, but I think you can accomlish
extending the path in a couple of ways...
1) avoid using or calling any memory resident programs in the AUTOEXEC
before the path is set.. the environment will always continue to
expand itself until a memory resident TSR routine is installed in the
machine...
2) consider using the SUBST command to define short drive designations
for specific directories.. some folks recommend against this, especially
since you cannot delete a directory with a SUBST in effect for it,
nor are you supposed to make backups while a SUBST is in effect..
I've used it for a couple of years though with no problem..
I hope that helps..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Thanks, *
* Ted Fabian NASA Lewis Research Center *
* Cleveland, Ohio *
* *
* phone: 216-433-6307 FTS 297-6307 | disclaimer: *
* email: tpfabian@nasamail.nasa.gov | my opinions *
* tfabian@earth.lerc.nasa.gov | are my own *
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Technical Details
Message-ID:
<1990Mar9.044910.24175@eagle.lerc.nasa.gov>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!amelia!eagle!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!amelia!eagle!news From: tpf4434@DOMAIN_2.lerc.nasa.gov Newsgroups: comp.sys.ibm.pc Subject: expanding the environment / path over 128 bytes Message-ID: <1990Mar9.044910.24175@eagle.lerc.nasa.gov> Date: 9 Mar 90 04:49:10 GMT Reply-To: tpf4434@DOMAIN_2.lerc.nasa.gov () Organization: ops Lines: 56