Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>shell execute dos command</b> http://www.X-Hacker.org [<<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 QuickBASIC
                program, the user types EXIT.

   -----------------------------------------------------------------------

      Notes:    If the SHELLed program is a batch file, its last statement
                should 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 QuickBASIC.

                After the specified DOS command or program terminates,
                control is returned to the line following the SHELL
                statement.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson