The maximum length in DOS commands is
A. 80 chars
B. 127 chars
C. 100 chars
D. 8 chars
Answer: Option A
Solution (By Examveda Team)
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.
Join The Discussion