home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / apps / 6125 < prev    next >
Encoding:
Text File  |  1992-09-13  |  2.1 KB  |  42 lines

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