home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / apps / 5880 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.3 KB  |  42 lines

  1. Newsgroups: comp.os.msdos.apps
  2. Path: sparky!uunet!mcsun!Germany.EU.net!infoac.rmi.de!siebeck
  3. From: siebeck@infoac.rmi.de (Wolfgang Siebeck)
  4. Subject: Re: Out of Environment Space
  5. Message-ID: <BzD114.GHp@infoac.rmi.de>
  6. Organization: RMI Net INFO.box Systems - Aachen - Hamburg - Wien
  7. References: <1992Dec15.222843.7901@epas.toronto.edu>
  8. Date: Wed, 16 Dec 1992 16:12:40 GMT
  9. Lines: 31
  10.  
  11. kan@epas.utoronto.ca (Raymond Kan) writes:
  12.  
  13. >    Every time I use Norton Commander I have this minor problem.
  14. >After I give a DOS command like SET TEMP=C:\ in a batch file,
  15. >I always get an out of environment space error message.
  16.  
  17. The problem is, NC will give only the USED environment space to your
  18. batch file. To avoid this, do the following:
  19.  
  20. In AUTOEXEC.BAT, insert some lines like:
  21.  
  22. set temp1=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  23. set temp2=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  24.  
  25. The purpose is to use some environment space for the dummies. In your batch
  26. file, you will insert at the beginning:
  27.  
  28. set temp1=
  29. set temp2=
  30.  
  31. to free the space occupied by the dummies, and now you can use the space
  32. for something useful. The more you need, the more dummies should be in
  33. AUTOEXEC.BAT.
  34.  
  35. I use this approach since DOS 2.0, and it works.
  36.  
  37. Wolfgang
  38.  
  39. P.S.: May insert this into FAQ ???
  40. --
  41. siebeck@infoac.rmi.de (Wolfgang Siebeck)
  42.