bas7ex.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SHELL Statement Programming Example
                       Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
'This example uses the SHELL statement to start up a new COMMAND.COM.
'Type EXIT at the operating system prompt to return to QBX.
 
SHELL
 
 
'This example uses an argument with the SHELL statement to execute a
'DOS command. When the program is finished, you are returned to QBX.
'The statement illustrates how you can quickly see a directory listing
'to check the creation time of some file.
 
SHELL ("DIR | MORE")