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
Answer:A
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
Explanation: * is a wild card character that stands for all any character. When you specify filename.*, it meant filename should 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.