ENVIRON Sets Environment Variables Used by SHELL in QuickBasic (43691)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
This article was previously published under Q43691 SUMMARY
The ENVIRON statement in Basic can change the MS-DOS environment
variables to different values to be used by that program or a child
process invoked with the SHELL statement. When the program ends, the
MS-DOS environment variables revert to the same state as before the
program ran.
This information applies to Microsoft QuickBasic versions 4.00, 4.00b,
and 4.50 for MS-DOS; Microsoft Basic Compiler versions 6.00 and 6.00b
for MS-DOS and MS OS/2; and Microsoft Basic PDS version 7.00 for
MS-DOS and MS OS/2.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB43691 |
---|
|