Help and Support
 

powered byLive Search

You receive the "Out of environment space" error message when you execute the Vcvars32.bat batch file

Article ID:248802
Last Review:October 3, 2005
Revision:3.0
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:
Setting environment for using Microsoft Visual C++ tools.
Out of environment space
Out of environment space
Out of environment space

Back to the top

CAUSE

The error can occur when you do not have enough memory in the MS-DOS environment to set an environment variable.

Back to the top

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 (http://support.microsoft.com/kb/230205/) Out of environment space error message in MS-DOS programs

Back to the top

STATUS

This behavior is by design.

Back to the top

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:
1.Locate the Command.com program in WINDOWS directory using Windows Explorer.
2.Right-click the program and select Properties.
3.Select the Program tab in the Properties window
4.Type the full path to the Vcvar32.bat file in the "Batch file" edit window.

Back to the top

REFERENCES

For more information, see the following in the MSDN Library (http://msdn.microsoft.com/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

Back to the top


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++, 32-bit Learning Edition 6.0
Microsoft Windows Millennium Edition

Back to the top

Keywords: 
kbtshoot kbdevstudio kbprb KB248802

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.