Microsoft DOS ctty command
Quick links
About ctty
Availability
Syntax
Examples
About ctty
Ctty is a MS-DOS utility that allows you to change the standard computer input/output device.
Availability
The ctty command is an internal command and is available in
MS-DOS 5.0 and above
Windows 95
Windows 98
Windows NT
Syntax
Changes the terminal device used to control your system.
CTTY device
device |
The terminal device you want to use, such as COM1. |
Available MS-DOS devices for CTTY:
AUX
COM1
COM2
COM3
COM4
CON
LPT1
LPT2
LPT3
NUL
Examples
ctty aux
Moves the input and output to a remote terminal connected to the auxiliary port.
ctty con
Moves the input and output back to the main terminal. This would be typed from a remote terminal
Warning: Using CTTY NUL will disconnect the computer display and keyboard from the screen and not allow you to reconnect the input and output from a remote terminal. |