Home / CSE / DOS Basics :: Discussion

Discussion :: DOS Basics

  1. Which command is used to display all the files having the (.exe) extension but different filename?

  2. A.

     Dir filename.*

    B.

     Dir filename.ext

    C.

     Dir *.sys

    D.

     Dir *.exe

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    First and second options are obviously wrong since specifying filename will list for that filename only. Since we need to list only with .exe extension fourth option is correct. Third option displays all files with sys extension.


Be The First To Comment