please dont rip this site
CTTY devicename

Specifies that a remote terminal will be used instead of the primary

keyboard and screen. CTTY is used to connect a terminal to a communications

port so that it can be used as a secondary terminal.


devicename Specifies AUX, COM1, COM2, COM3, or COM4

to be used as the primary console.


PC-DOS 2.0+

MS-DOS equivalent: CTTY (2.0+)





redirects input and output to the COM1 port.


Invalid device

DOS does not recognize the device name you specified. Reissue the

command, using a valid device name.


After you have switched the console to another port, you

must use the new console to switch back to the regular console by

giving the command


If the new terminal is not set at the correct baud rate and

protocol, you may have to reboot to use the regular terminal



[For related topics, press R]


BREAK Command


EXE2BIN Command

JOIN Command

KEYB Command

KEYBxx Command

PROMPT Command

SET Command

SUBST Command

- Ref PC Magazine Vol 6, No 12, Page 497

PC As we've discussed previously, do not use CTTY NUL to hide the output of

TSR (terminate-and-stay-resident) programs. Due to a quirk in tDOS, each TSR

program you load that way will permanently tie up two file handles, making

them unavailable to your other programs. Redirecting the output of a TSR to

NUL produces the same problem, though it ties up only one file handle each

time. If you have an EGA or VGA system it's much smarter to simply set every

palette color to black, as shown above.

file: /Techref/DOS/command/ctty.htm, 1KB, , updated: 1999/2/20 11:24, local time: 2024/7/16 02:34,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> DOS command ctty</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!