QuickBasic Cannot RUN or CHAIN to Batch Files; Use SHELL (45908)
The information in this article applies to:
- Microsoft GW-BASIC 3.2
- Microsoft GW-BASIC 3.22
- Microsoft GW-BASIC 3.23
- Microsoft QuickBASIC 1.0
- Microsoft QuickBASIC 1.01
- Microsoft QuickBASIC 1.02
- Microsoft QuickBASIC 2.0
- Microsoft QuickBASIC 2.01
- Microsoft QuickBASIC 3.0
- 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 Q45908 SUMMARY
Batch (.BAT) files can be executed only from a Basic program SHELL
statement. The RUN and CHAIN statement cannot be used to execute a
batch file.
This information applies to the following Basic products:
- Microsoft GW-Basic Versions 3.20, 3.22, and 3.23
- QuickBasic Versions 1.00, 1.01, 1.02, 2.00, 2.01, 3.00, 4.00,
4.00b, and 4.50
- Microsoft Basic Compiler Versions 6.00, and 6.00b for MS-DOS and
MS OS/2.
- Microsoft Basic PDS Version 7.00 for MS-DOS and MS OS/2.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB45908 |
---|
|