home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27529 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.6 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Question Concerning PATH Variable
  5. Message-ID: <1992Aug17.182057.27253@njitgw.njit.edu>
  6. Date: 17 Aug 92 18:20:57 GMT
  7. References: <1992Aug12.180735.22655@intelhf.hf.intel.com> <713751498snx@tgm.CAM.ORG>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 26
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <713751498snx@tgm.CAM.ORG> eric@tgm.CAM.ORG (Eric Trepanier) writes:
  14. >That's a common DOS limitations, though the limit is 127, not 80.  Some
  15. >people on this newsgroup have claimed that the 127 character limitation
  16. >was with the length of command lines, not with the actual environment
  17. >variables.  I don't think so, i.e. the following trick does _not_ work:
  18. >
  19. >SET PATH=C:\;....(127 character path)...
  20. >SET PATH=%PATH%;......
  21.  
  22. That's because the %PATH% variable is expanded into it's full (127
  23. character) length before use.  It's the same old input-buffer limit.
  24.  
  25. >I know of some PD programs that allow to fool DOS into accepting longer
  26. >path names, but this does not work with all DOS applications.
  27.  
  28. They successfully increase the PATH size.  It fails with apps because
  29. the apps use a static 128-byte buffer to hold the path, and a longer
  30. one overflows the buffer.  Kind of stupid, if you ask me.
  31.  
  32.  
  33.  
  34. -- 
  35.    |)  David Charlap           "I don't even represent myself
  36.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  37.  ((|,)
  38.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  39.