home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / ctty.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  25 lines

  1. CTTY devicename
  2.  
  3. The CTTY internal command allows you to change the CONSOLE device from which
  4. commands are entered and to which output is displayed.  Usually commands come
  5. from the keyboard, and output goes to the screen. [Not supported in OS/2]
  6.  
  7. <devicename>  can be CON, COM1, COM2, or NUL, with an optional trailing ":".
  8.  
  9.   CTTY COM1            Would change command entry and output display
  10.                 from the current CONSOLE to the COM1 device.
  11.  
  12.   CTTY CON            Would reset command entry and output display
  13.                 back to the keyboard and screen.
  14.  
  15.   CTTY NUL            Would change entry and display to the NUL
  16.                 device. Useful only in BATCH files.
  17.  
  18.   CTTY > LOG.FIL        Would change output display (only) to be
  19.                 written to file LOG.FIL. Command entry would
  20.                 still come from the keyboard. CTTY < INPUT.FIL
  21.                 would similarly change command entry (only) to
  22.                 come from the file INPUT.FIL. [This does NOT
  23.                 work in DOS 4.0, or on some versions of DOS
  24.                 prior to 4.0.]
  25.