Welcome to Pete's QBASIC Site!


FreeBasic Top 50

QB Top 50

QB FAQ
How do I run consecutive QBasic programs (without having to intervene)?

You can run consecutive QBasic programs from a batch file by using the Basic SYSTEM statement and the QBASIC command with the /RUN switch. A SYSTEM statement quits QBASIC and returns control to MS-DOS after a Basic program has run, instead of returning to QBasic. This allows you to run more than one Basic program from a batch file without having to intervene.

Submitted by: Pete on June 24, 2004

Return to the FAQ


Copyright Pete's QBASIC / QuickBasic Site, 1998-2013.
All rights reserved. Site owned and operated by Pete Berg. Programs and submitted content are property of their creators, and appear on this site by direct or implied permission. Pete's QBasic Site is powered by Coranto. This site was created entirely in Notepad.