中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-16 06:15
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » [Help] not enough space for environment
Printable Version  897 / 2
Floor1 slotg Posted 2003-11-23 00:00
初级用户 Posts 2 Credits 108
My computer has had a lot of software installed one after another (mainly EDA-related). Recently, after installing one piece of software and rebooting, as soon as the mouse pointer appeared, the screen immediately showed the message "not enough space for environment", and the system would not enter.

Why does this message appear? I tried rem'ing a few PATH entries, and then startup was normal. If I remove those rem's, this problem appears again? (It has nothing to do with removing the PATH of that particular software.)

How should I solve this?

?????
Floor2 MYS Posted 2003-11-24 00:00
元老会员 Posts 1,637 Credits 5,170 From 广东佛山
There is not enough environment variable space. By default, DOS environment variable space is only 512 bytes. In config.sys, when loading command.com with SHELL, you can specify a larger environment variable space.
Floor3 slotg Posted 2003-11-24 00:00
初级用户 Posts 2 Credits 108
I already set it up like this, but it still doesn't work.
As long as I remove that rem in autoexec.bat, the problem appears.


My config.sys is

SHELL=C:\WIN98\COMMAND.COM C:\ /E:8192 /P

Set DIRCMD=/OE
Set TEMP=C:\TMP
Set TMP=C:\TMP
buffers=60,0
FILES=100
SWITCHES=/F/w


My autoexec.bat is
@ECHO OFF

C:\WIN98\COMMAND\DOSKEY

SET PATH=C:\WIN98;C:\WIN98\COMMAND;C:\WIN98\SYSTEM;C:\BC31\BIN;C:\BAT;C:\ASM;C:\CSJTOOL;C:\TOOL
SET PATH=%PATH%;C:\PROGRA~1\BORLAND\CBUILD~1\BIN;C:\PROGRA~1\BORLAND\CBUILD~1\PROJECTS\BPL
SET PATH=%PATH%;C:\PROGRA~1\ULTRAE~1;
SET PATH=%PATH%;C:\ispTOOLS\ispcomp\bin
SET PATH=%PATH%;C:\SYNAPT~1;C:\FNDTN\BIN\NT

rem SET PATH=%PATH%;C:\MODELTECH_5.7E\WIN32

SET PATH=%PATH%;C:\J2SDK1.4.1_05\BIN;C:\J2ME_CLDC\BIN
SET CLASSPATH=.;C:\J2SDK1.4.1_05\LIB\TOOLS.JAR;C:\J2SDK1.4.1_05\LIB\DT.JAR;C:\J2ME_CLDC\BIN\API\CLASSES

SET PDSPLUS=C:\ispTOOLS\ispcomp

SET LM_LICENSE_FILE=C:\ispTOOLS\ispcomp\license\license.dat;c:\SynaptiCAD\syncad.lic
SET WISE02_LICENSE_FILE=C:\Program Files\WISE Software Solutions\License\Wise02.lic
SET ALDEC_LICENSE_FILE=C:\Program Files\Aldec\Active-HDL 4.2\DAT\license.dat
set LM_LICENSE_FILE=C:\MODELTECH_5.7E\WIN32\license.dat;%LM_LICENSE_FILE%

set SYNCAD_HOME=C:\SynaptiCAD
set UNISON=C:\SYNAPT~1\.unison\
SET XILINX=C:\fndtn
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023