home *** CD-ROM | disk | FTP | other *** search
- DEVICE NAMES
-
- DOS uses several standard device names to refer to devices that most computers
- have. The device names are shown ending with a colon (:), but it is optional
- in almost all cases. Device names are useful with redirection and commands
- like COPY, ECHO, ESC, FIND, SORT and TYPE.
-
- CAS1: is the cassete tape deck LPT1:
- [pre-DOS 2.0 only] PRN: all refer to printer ports.
- CLOCK$: is the system clock. CLOCK$ LPT2: (PRN: is a synonym for LPT1:)
- cannot be used as the name LPT3:
- of a file.
- COM1: MOUSE$: is the mouse. [OS/2 only]
- AUX: refer to communications ports.
- COM2: (AUX: is a synonym for COM1: NUL: is a nonexistent device.
- COM3: on older systems.) Writing never fills it up,
- reading never gets any data
- CON: is the console -- commands are from it.
- entered on the keyboard and
- output is displayed on the POINTER$: is the cursor controlled by
- console screen. the mouse. [OS/2 only]
-
- KBD$: is the keyboard. [OS/2 only] SCREEN$: is the screen. [OS/2 only]