Difficulty: Easy
Correct Answer: MODE
Explanation:
Introduction / Context:
Legacy DOS environments often needed device redirection—for instance, routing LPT output through a serial port or adjusting communications parameters. The system utility that configures such device modes and mappings is crucial for compatibility with older printers and terminals.
Given Data / Assumptions:
Concept / Approach:
MODE
is the DOS command that sets device modes and can redirect printer output (e.g., MODE LPT1:=COM1:
) and adjust serial parameters (MODE COM1:9600,N,8,1
). PRINT
is a spooling utility; TYPE
displays file contents; CAPTURE
is a Novell NetWare utility, not a standard DOS command.
Step-by-Step Solution:
Verification / Alternative check:
Running MODE
without arguments lists current settings; documentation shows syntax for device mapping and serial configuration.
Why Other Options Are Wrong:
Common Pitfalls:
Assuming PRINT can change ports; it relies on existing device mappings. Forgetting to specify both direction and colon notation (e.g., LPT1:=COM1:).
Final Answer:
MODE
Discussion & Comments