🎴 Flashcard Mode

MS-DOS Commands and Utilities

Card1 / 25
Mastered0
Review0
QuestionClick to flip

Which one of the following is an invalid command?

AnswerClick to flip back
A
DIR >> LPT1:
💡 Explanation:

In MS-DOS, redirection to ports like LPT1 uses > for output. The append operator >> works for files but not for printer ports - DIR >> LPT1 is invalid because you cannot append to a port, only overwrite with >. Options A (redirect to file) and B (append to file) are valid commands, so C is the invalid one.

Change Mode