Home / CSE / DOS Basics :: Discussion

Discussion :: DOS Basics

  1. Which command displays all the files having the same name but different extensions?

  2. A.

     Dir filename.*

    B.

     Dir filename.ext

    C.

     Dir *.sys

    D.

     Dir *.ext

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment