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
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
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.