home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / misc / 4844 < prev    next >
Encoding:
Text File  |  1992-08-21  |  2.0 KB  |  46 lines

  1. Newsgroups: comp.os.msdos.misc
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!pasteur!bellini.berkeley.edu!dcdeno
  3. From: dcdeno@bellini.berkeley.edu (D. Curtis Deno)
  4. Subject: DOS environment variables > 128 chars ?
  5. Message-ID: <1992Aug22.005943.26092@pasteur.Berkeley.EDU>
  6. Keywords: environment variable DOS MS-DOS
  7. Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster)
  8. Nntp-Posting-Host: bellini.berkeley.edu
  9. Reply-To: dcdeno@bellini.berkeley.edu (D. Curtis Deno)
  10. Organization: EECS Department, UC Berkeley, Berkeley
  11. Date: Sat, 22 Aug 1992 00:59:43 GMT
  12. Lines: 32
  13.  
  14. Fellow netlanders,
  15.  
  16. I would appreciate your suggestions on the matter of environment variables
  17. whose length exceeds the 128 (127?) character limit.
  18.  
  19. I have used a utility program (appenv) to construct lengthy environment
  20. variables.  In particular, I use a PATH of about 200 characters to allow
  21. easy access to DOS, a set of utilities, several compilers, and some
  22. applications.  I know this is longer than Microsoft recommends but I am
  23. not fond of cryptic directory names and am wary of SUBST drive letters.
  24. I do not wish to switch between multiple AUTOEXEC.BAT or CONFIG.SYS files.
  25.  
  26. Almost all programs work fine under this condition.  DOS itself will search
  27. the entire PATH string for .exe files.  My SHELL= line in the config.sys
  28. file specifies a total environment space of 1024 bytes and this usually
  29. leaves a comfortable 200-400 bytes to spare.  I am using MS-DOS 5.0.
  30.  
  31. My DOS and Windows applications seem quite happy, except for 1 ...
  32.  
  33. This particular application uses the Phar Lap 386 DOS extender and won't
  34. shell out to DOS properly if any environment variable is > 128 characters.
  35. At least 1 other Phar Lap 386 DOS extended product is not so limited.
  36.  
  37. What is the story here?  I deplore a 128 character limit and fortunately
  38. found that very few of my applications care.
  39.  
  40.   Must I introduce SUBST drive letters as shorthand for directories?  If
  41.   so, what are the possible complications?
  42.   Is NDOS or 4DOS or xxx superior in this respect?
  43.   What might go wrong if I continue to use such a long PATH?
  44.  
  45. -- Curt Deno
  46.