home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.apps
- Path: sparky!uunet!spool.mu.edu!uwm.edu!cs.utexas.edu!tamsun.tamu.edu!zeus.tamu.edu!wjb5106
- From: wjb5106@zeus.tamu.edu (Walter Barnett)
- Subject: Re: Truncated Path. How to increase environment space?
- Message-ID: <13SEP199219451112@zeus.tamu.edu>
- News-Software: VAX/VMS VNEWS 1.41
- Sender: news@tamsun.tamu.edu (Read News)
- Organization: Texas A&M University
- References: <1992Sep13.021442.38549@ux1.cts.eiu.edu> <1992Sep13.213237.61903@ux1.cts.eiu.edu>
- Date: Mon, 14 Sep 1992 00:45:00 GMT
- Lines: 29
-
- In article <1992Sep13.213237.61903@ux1.cts.eiu.edu>, cfdwe@ux1.cts.eiu.edu (David Ebdon) writes...
- >In article <1992Sep13.021442.38549@ux1.cts.eiu.edu> cfdwe@ux1.cts.eiu.edu (David Ebdon) writes:
- >>I recently added additional directories to the middle of my path statement
- >>in the autoexec.bat file. When some of my apps failed to run (system
- >>couldn't find them), I checked the path and found that the directories on
- >>the end of the path had been lost. I assumed I needed to increase my
- >>environment space and therefore added /E:1024 to the shell=command.com
- >>statement in config.sys and rebooted. This change had no effect. So how
- >>does one increase the DOS environment under OS/2?
- >
- >It appears I will answer my own question. One does increase the
- >environment space as above. The problem is that the path statement is
- >limited to 121 characters, including "path=". In DOS 5.0, one can use the
- >APPEND statement with the /x:on switch to increase the effective path, but
- >this switch is not recognized by OS/2's APPEND. The only way to add more
- >directories to one's path seems to be use shorter directory names and/or
- >throw away some less used directories. Surely it is not too much to ask
- >for IBM to allow a little more room for the path in such a gargantuan
- >operating system as OS/2! Dear IBM...
- >
-
- You can use the subst.exe command to substitute an unused drive letter
- for a directory. For example:
-
- subst b: c:\os2\mdos\winos2
- path=b:
-
- _______________________________________________________________________
- Walter Barnett Aerospace Engineering Texas A&M University
-