Explanation
SHELL Statement
Suspends execution of a Basic program to run a DOS command or batch file.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
SHELL [commandstring$] |
commandstring$ | The name of a DOS command or batch file. |
Your program resumes when the DOS command or batch file completes. | |
If you omit the command string, SHELL invokes a DOS shell and displays the DOS prompt. Use the EXIT command to resume your program. |
SHELL "DIR"