Microsoft KB Archive/248802: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 12: | Line 12: | ||
<div id="TitleRow"> | <div id="TitleRow"> | ||
= <span id="KB248802"></span>You receive the | = <span id="KB248802"></span>You receive the "Out of environment space" error message when you execute the Vcvars32.bat batch file = | ||
Line 98: | Line 98: | ||
# Right-click the program and select '''Properties'''. | # Right-click the program and select '''Properties'''. | ||
# Select the '''Program''' tab in the '''Properties''' window | # Select the '''Program''' tab in the '''Properties''' window | ||
# Type the full path to the Vcvar32.bat file in the | # Type the full path to the Vcvar32.bat file in the "Batch file" edit window. | ||
Latest revision as of 13:51, 21 July 2020
Article ID: 248802
Article Last Modified on 10/3/2005
APPLIES TO
- Microsoft Windows 98 Standard Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
- Microsoft Windows Millennium Edition
This article was previously published under Q248802
SYMPTOMS
Executing the Vcvars32.bat batch file from the MS-DOS prompt on Windows 95, Windows 98, and Windows Millennium Edition (Me) systems generates the following messages:
CAUSE
The error can occur when you do not have enough memory in the MS-DOS environment to set an environment variable.
RESOLUTION
For more information about increasing the environment memory for MS-DOS programs, click the following article number to view the article in the Microsoft Knowledge Base:
230205 Out of environment space error message in MS-DOS programs
STATUS
This behavior is by design.
MORE INFORMATION
Vcvars32.bat is a batch file containing statements that set the environment variables necessary to run Visual C++ tools such as Cl.exe from the MS-DOS prompt. It is created during the Visual C++ setup.
Use the following steps to run this batch file for every MS-DOS session:
- Locate the Command.com program in WINDOWS directory using Windows Explorer.
- Right-click the program and select Properties.
- Select the Program tab in the Properties window
- Type the full path to the Vcvar32.bat file in the "Batch file" edit window.
REFERENCES
For more information, see the following in the MSDN Library:
Visual Studio 6.0 Documentation; Visual C++ Documentation; Using Visual C++; Visual C++ Programmer's Guide; Compiling and Linking; How Do I...; Set Environment Variables
Keywords: kbtshoot kbdevstudio kbprb KB248802