Microsoft Knowledge Base Email Alertz

(248802) - Executing the Vcvars32.bat batch file from the MS-DOS prompt on Windows 95, Windows 98 and Windows Millenium Edition (Me) systems generates the following messages: Setting environment for using Microsoft Visual C++ tools. Out of environment space Out...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 248802 - Last Review: October 3, 2005 - Revision: 3.0

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

System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows Vista Solution Center
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

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  (http://kbalertz.com/Feedback.aspx?kbNumber=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:
  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.

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

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
Keywords: 
kbtshoot kbdevstudio kbprb KB248802
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate