home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.apps
- Path: sparky!uunet!mcsun!Germany.EU.net!infoac.rmi.de!siebeck
- From: siebeck@infoac.rmi.de (Wolfgang Siebeck)
- Subject: Re: Out of Environment Space
- Message-ID: <BzD114.GHp@infoac.rmi.de>
- Organization: RMI Net INFO.box Systems - Aachen - Hamburg - Wien
- References: <1992Dec15.222843.7901@epas.toronto.edu>
- Date: Wed, 16 Dec 1992 16:12:40 GMT
- Lines: 31
-
- kan@epas.utoronto.ca (Raymond Kan) writes:
-
- > Every time I use Norton Commander I have this minor problem.
- >After I give a DOS command like SET TEMP=C:\ in a batch file,
- >I always get an out of environment space error message.
-
- The problem is, NC will give only the USED environment space to your
- batch file. To avoid this, do the following:
-
- In AUTOEXEC.BAT, insert some lines like:
-
- set temp1=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- set temp2=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-
- The purpose is to use some environment space for the dummies. In your batch
- file, you will insert at the beginning:
-
- set temp1=
- set temp2=
-
- to free the space occupied by the dummies, and now you can use the space
- for something useful. The more you need, the more dummies should be in
- AUTOEXEC.BAT.
-
- I use this approach since DOS 2.0, and it works.
-
- Wolfgang
-
- P.S.: May insert this into FAQ ???
- --
- siebeck@infoac.rmi.de (Wolfgang Siebeck)
-