Ctty
Purpose:
Lets you change
the
device from which you issue commands.
Syntax:
ctty
device
Comments:
The device parameter specifies
the
device from which
you
are giv-
ing commands
to
MS·DOS.
Ctty
is
useful
if
you
want
to change
the
device
on
which you are working. In this command,
the
letters
tty
represent the console; that
is,
your keyboard.
Examples:
The
following command moves all
command
110
(input/output)
from
the
current
device
(the
console)
to
an
AUX
port
such
as
another
terminal:
ctty'aux
The
next
command moves
110
back to
the
console:
ctty
con
Note There are many programs that
do
not
use
MS·
DOS for input,
output,
or
either. These programs
send
input
directly
to
the
hard-
ware
on
your computer. The
ctty
command
has
no
effect
on
these
programs; it affects only programs that use
MS-DOS.
MS-DOS Commands
431
Ctty