Vidyalelo
Computer Science · Q61

Disk Operating System (DOS)

Engineering and GATE · Computer Science · question 61

Q61

The maximum length in DOS commands is

A.
80 chars
Answer
B.
127 chars
C.
100 chars
D.
8 chars

Answer: Option A

Solution

Answer: Option A
Solution:
The maximum length in DOS commands is:
80 chars: This is the correct answer. In traditional DOS (Disk Operating System), the maximum length of a command line, including all arguments and spaces, is 80 characters.
127 chars: This is incorrect. In DOS, commands are limited to 80 characters.
100 chars: This is incorrect. In DOS, commands are limited to 80 characters.
8 chars: This is incorrect. The 8-character limit applies to filenames in the 8.3 filename convention, not the length of commands.
Note: On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. However, this question specifically pertains to traditional DOS commands, where the limit is 80 characters.