mode

    mode [device][options]
Configures and sets the state for various hardware devices, and more:
CON        Console
LPT        Parallel Ports
COM        Serial Ports
PARK       Parks the hard drive
DELAY      Sets the keyboard auto-repeat rate
SWITCHAR   change DOS command line option switch character (usually /)

CAPSLOCK   State of the Caps lock key
NUMLOCK    State of the Num lock key
SCRLOCK    State of the SCroll lock key

CON (Console)

This controls the display driver, which must be installed first. MODE CON allows you to set your screen's "codepage". This is useful because each codepage lets you display different characters. For mode information on codepage see the codepage information pack.
Usage:
   MODE CON[:] CODEPAGE
   Shows the active codepage and other information about the current
   status of DISPLAY and the codepage buffers.

   MODE CON[:] CODEPAGE REFRESH
   Refreshes the active codepage to hardware (in case it has been 
   accidentaly destroyed)

   MODE CON[:] CODEPAGE PREPARE ((nnn) filename)
   Prepare codepage nnn from the specified file.
   The format of the files are .cpi and they are usually stored in C:\FDOS\CPI.
   For instance, codepage 860 is in EGA9.CPI. So you might use:
         MODE CON: CODEPAGE PREPARE ((860) c:\fdos\cpi\ega9.cpi).
   See the codepage information pack for information
   about the available codepages and cpi files.

   MODE CON[:] CODEPAGE SELECT=nnn
   Activate codepage nnn, which must have been previously prepared with
   PREPARE.
Note: The word CODEPAGE can be abbreviated to CP.

Other MODEs

For more information on the various features, go to mode.txt

See Also

display chcp graftabl
Copyright © 2003-4
Aitor SANTAMARIA MERINO
Henrique PERON
Rob PLATT

This file forms part of The FreeDOS HTML Help Documentation, and is covered under its terms: see index.htm