Home > Commands A-M > Commands M

MODE (Set Display Mode)


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Selects the active display adapter and its display mode, or reconfigures the active display adapter.


Syntax

MODE /?

MODE [display-adapter] [,shift [,T]]

MODE [display-adapter] [,n]

MODE CON[:] [COLS=c] [LINES=n]


Parameters
CON[:] (v1.1 Win95 NT3.5)
Refers to the monitor.
COLS=c (v4.0 Win95 NT3.5)
Specifies the number of characters (columns) per line. Valid values are 40 and 80. Default is 80.
display-adapter (v1.1 Win95)
Specifies a setting category. The list shows the value(s) associated with each setting category for display-adapter:
n (v4.0)
LINES=n (v4.0 Win95 NT3.5)
Specifies the number of lines that can be displayed on the screen. Valid values for n are 25, 43, and 50. Default is 25. Not all display adapters support all three settings. To set the number of lines, you must have installed the ANSI.SYS device driver by using a DEVICE command in your CONFIG.SYS file.
shift (v1.1 Win95)
Specifies whether to shift the CGA screen to the left or to the right. Valid values for shift are L (for left) and R (for right).
T (v1.1 Win95)
Enables you to align the screen by using a test pattern. The operating system prompts you to indicate whether the screen is aligned correctly.

Switches
/? (NTXP)
Displays help.

Related

MODE - Configure Printer.
MODE - Configure Serial Port.
MODE - Display Device Status.
MODE - Redirect Printing.
MODE - Set Device Code Pages.
MODE - Set Typematic Rate.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External Resident
DOS
v1.0? v1.05? v1.1 v1.11 v1.24 v1.25 v1.85 v2.0 v2.01 v2.05 v2.10 v2.11 v2.11R v2.12 v2.2 v2.25 v3.0 v3.20 v3.05 v3.1 v3.21 v3.25 v3.30 v3.3A v3.3R v3.3T v3.31 v3.40 v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
Win95 Win98 WinME
Windows NT
NT3.5 NT4 NT2000 NTXP NT2003