PRB: "Out of Environment Space" Error When Using RUN CommandLast reviewed: April 17, 1995Article ID: Q101596 |
The information in this article applies to:
SYMPTOMSYou receive an "Out of Environment Space" error message when you are using a RUN command in FoxPro to execute a batch file or program that issues SET commands or other commands that take up environment space.
CAUSEWhen the FoxPro RUN command is issued, it has a default of 256 bytes of environment space. After this 256 bytes is used up, an "Out of Environment Space" error message is displayed.
RESOLUTIONIssue the RUN command in the following form:
RUN c:\command.com /e:<nnnnn> /c <string>The /e:<nnnnn> parameter specifies the environment size; increasing this parameter (for example, to 2048) will cause the "Out of Environment Space" message to disappear. The /c <string> parameter specifies that the command interpreter is to perform the command specified by <string> and then stop.
MORE INFORMATIONIncreasing the /e: parameter on a SHELL statement has no effect on the above error message because when an MS-DOS virtual machine (VM) is started, it does not inherit the settings from the SHELL statement in the CONFIG.SYS; thus, it is necessary to directly specify the environment space needed when starting the MS-DOS shell.
Steps to Reproduce the Problem
|
Additional reference words: FoxDos 2.00 2.50 2.50a errmsg err msg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |