Which command displays all the files having the same name but different extensions?
A
Dir filename.*
B
Dir filename.ext
C
Dir *.sys
D
Dir *.ext
Correct Answer: Dir filename.*
* is a wild card character that stands for all any character. When you specify filename.*, it meant filenameshould be specified one but extension can be any. Second option lists only the specified filename.exe and third and fourth commands lists all files with sys extension and specified extension.