PDA

Click to See Complete Forum and Search --> : Enviroment space question


ChimpFace9000
Feb 20th, 2002, 03:30 PM
Im using windows 98. I have VC++ installed. In the bin directory, theres a batch file called VCVARS32.BAT that sets some variables so that you can use VC++ from the command line. This is the file...
@echo off
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=C:\PROGRA~1\MICROS~3\COMMON

rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=C:\PROGRA~1\MICROS~3\COMMON\msdev98

rem
rem Root of Visual C++ installed files.
rem
set MSVCDir=C:\PROGRA~1\MICROS~3\VC98

rem
rem VcOsDir is used to help create either a Windows 95 or Windows NT specific path.
rem
set VcOsDir=WIN95
if "%OS%" == "Windows_NT" set VcOsDir=WINNT

rem
echo Setting environment for using Microsoft Visual C++ tools.
rem

if "%OS%" == "Windows_NT" set PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%
if "%OS%" == "" set PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE%
set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%

set VcOsDir=
set VSCommonDir=

And this is what i get when i run it...
Out of environment space
Out of environment space
Setting environment for using Microsoft Visual C++ tools.
Out of environment space
Out of environment space
Out of environment space


Is there a way i can increase the enviroment space?

CornedBee
Feb 21st, 2002, 09:36 AM
for dos you'd use the shell command. Don't know for WinNT though.

ChimpFace9000
Feb 21st, 2002, 11:54 AM
Really, you think.

parksie
Feb 21st, 2002, 01:43 PM
Change your MS-DOS Prompt shortcut on the Start Menu, and under Memory give it 8192 for environment :)

ChimpFace9000
Feb 21st, 2002, 03:04 PM
Actually i went into config.sys and put
SHELL=C:\COMMAND.COM /E:1024 /P

parksie
Feb 24th, 2002, 03:33 PM
That mostly worked when I did that before, but it occasionally did random things so I had to stop using it :(