qbasic.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.
QBasic Command Line
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 These options can be typed on the DOS command line following the QBasic
 command:
 
 QBASIC [/B] [/EDITOR] [/G] [/H] [/MBF] [/NOHI] [[/RUN] sourcefile]
 
 Option             Description
 ═══════════════    ═════════════════════════════════════════════════════════
 /B                 Allows the use of a composite (monochrome) monitor with
                    a color graphics card. The /B option displays QBasic in
                    monochrome if you have a color monitor.
 
 /EDITOR            Invokes the MS-DOS Editor text editor. Can be
                    abbreviated as /ED.
 
 /G                 Sets QBasic to update a CGA screen as fast as possible
                    (works only with machines using CGA monitors). If you
                    see snow (dots flickering on the screen) when QBasic
                    updates your screen, your hardware cannot fully support
                    this option. If you prefer a clean screen, restart
                    QBasic without the /G option.
 
 /H                 Displays the maximum number of lines possible on your
                    hardware.
 
 /MBF               Causes the QBasic conversion functions (CVS, CVD, MKS$,
                    MKD$) to treat IEEE-format numbers as Microsoft-Binary-
                    format numbers.
 
 /NOHI              Allows the use of a monitor that does not support high
                    intensity. Not for use with Compaq laptop computers.
 
 sourcefile         Names the file to load when QBasic starts. To load a
                    file created with GW-BASIC or BASICA, the file must be
                    saved from GW-BASIC or BASICA with the ,A option.
 
 /RUN sourcefile    Causes QBasic to load and run a program file before
                    displaying it.