[comp.sys.ibm.pc] Paths > 128 characters

rogerc@copper.MDP.TEK.COM (Roger Crooks) (02/19/89)

Can anyone tell me how to enter a path name > 128 characters.  I have enough
environment space but it drops all characters after 128.  Thanks.

jc58+@andrew.cmu.edu (Johnny J. Chin) (02/19/89)

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

I think this should give you more than enough environment space.
If not, try it with /E:4000 instead of /E:2000.

I hope this helps.

                                        -- J. Chin (a.k.a. Computer Dr.)
 xxxxxxxxxx
xxx  xxx  xx  ------------------ Carnegie Mellon University ------------------
xxx  xxx  xx  4730 Centre Ave. #412     ARPAnet: Johnny.J.Chin@andrew.cmu.edu
xxxxxxxxxxxx  Pittsburgh, PA  15213     BITnet:  jc58@andrew.BITNET
x xxxxxxxx x  (412) 268-8936            UUCP: ...!harvard!andrew.cmu.edu!jc58
xx        xx  ----------------------------------------------------------------
 xxxxxxxxxx   Smile! -- Mr. HappyWOWface -- (got this from the network)

Disclaimer:   The views expressed herein are STRICTLY my own, and not CMU's.

msc@ttrdc.UUCP (Michael Cross ) (02/21/89)

> To get longer paths, you must increase your environment space.

You can also cheat and shrink the name for the directorys in the path:

NORTON = NU
TURBOC = TC
  .
  .
  .

so that PATH=C:\NORTON;C:\TURBOC

becomes PATH=C:\NU;C:\TC

This does save a few characters if you only need to add one more name.

Mike

-- 
Michael S. Cross  (att!ttrdc!msc)  (312)-982-2018
AT&T Bell Laboratories Area 61
5555 Touhy Ave., Skokie, IL  60077
________________________To Live is to risk Dying______________________________