Disk Operating System (DOS) Question: Download Questions PDF
Which command is used to display all the files having the (.exe) extension but different filename?
a. Dir filename.*
b. Dir filename.ext
c. Dir *.sys
d. Dir *.ext
Answer:
d. Dir *.ext
Explanation:
First two options are obviously wrong since specifying filename will list for that filename only. Since we need to list only with .ext extension fourth option is correct. Third option displays all files with sys extension.
Explanation:
First two options are obviously wrong since specifying filename will list for that filename only. Since we need to list only with .ext extension fourth option is correct. Third option displays all files with sys extension.
Download DOS (Disk Operating System) Interview Questions And Answers
PDF