China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-26 21:24
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Help] not enough space for environment View 819 Replies 2
Original Poster Posted 2003-11-23 00:00 ·  中国 台湾 中华电信
初级用户
Credits 108
Posts 2
Joined 2003-11-22 00:00
22-year member
UID 13201
Gender Male
Status Offline
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?

?????
Floor 2 Posted 2003-11-24 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
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.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2003-11-24 00:00 ·  中国 台湾 中华电信
初级用户
Credits 108
Posts 2
Joined 2003-11-22 00:00
22-year member
UID 13201
Gender Male
Status Offline
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
Forum Jump: