New COMMAND$ Will Not Pass with RUN from within VB Program (37348)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- 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
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1
This article was previously published under Q37348 SUMMARY
A Visual Basic for MS-DOS, version 1.0 program will return the COMMAND$
as expected, but the RUN statement with an appended command string
will not pass the COMMAND$ to the new program. Instead, the original
COMMAND$ from the first program is passed to the second (RUN)
program. The two programs listed below demonstrate this behavior.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB37348 |
---|
|