GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing ss64.com — MODE - Com1, Com2, Lpt1, con command - Windows CMD MODE.comConfigure a system device: COM / LPT port, or CMD console CON. Syntax
Serial port:
MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s]
[to=on|off] [xon=on|off] [odsr=on|off]
[octs=on|off] [dtr=on|off|hs]
[rts=on|off|hs|tg] [idsr=on|off]
Device Status:
MODE [device] [/STATUS]
Redirect printing:
MODE LPTn[:]=COMm[:]
Select code page:
MODE CON[:] CP SELECT=yyy
Code page status:
MODE CON[:] CP [/STATUS]
Display size/buffer - number of columns wide and number of lines deep:
MODE CON[:] [COLS=c] [LINES=n]
undocumented) abbreviated version of the above:
MODE Cols, Lines
Typematic rate:
MODE CON[:] [RATE=r DELAY=d]
Used without parameters, MODE displays the status of all devices installed on your system C:\> MODE
Status for device CON:
----------------------
Lines: 240
Columns: 80
Keyboard Rate: 31
Keyboard delay: 1
Code Page: 850
Mode lines will set both the height/width of the console window and the screen buffer. Mode can be used to set the display window to be larger than the monitor width and/or height, in this case the CMD window size will be restricted to the display size but a scroll bar will appear. If the display window is made very large (many times the size of a typical display), the memory used by conhost.exe will increase, in extreme cases to over 1 GB. In PowerShell the height and buffer size can be set independently, but this requires a script. Show the status of a specific device: Keyboard
Printing
Window Border size
International Settings
ExamplesSet the window size to 80 columns wide by 25 lines high:
Set the window size to 40 columns wide by 3 lines high:
“The dogma of the ghost in the machine” ~ Gilbert Ryle Related commandsFull list of Code Page Identifiers - docs.microsoft.com Copyright © 1999-2026 SS64.com
Some rights reserved |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |