[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SHELL Execute DOS Command
SHELL [commandstr]
Loads a secondary copy of COMMAND.COM and, optionally, executes an
.EXE, .COM, or .BAT program, or an internal DOS command.
commandstr A string expression. If omitted, SHELL leaves the user at
the DOS command prompt. To return to the Turbo Basic
program, the user types EXIT.
--------------------------------------------------------------------------
Notes: If the SHELLed program is a batch file, its last statement
must be EXIT.
Parameters may be passed to the SHELLed program in the
usual DOS fashion. Any words in commandstr that are
separated from the program name by one or more spaces are
considered parameters for the SHELLed program.
It is not advisable to run TSR programs via SHELL. They
may cause a crash on return to Turbo Basic.
After the specified DOS command or program terminates,
control is returned to the line following the SHELL
statement.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson