Home / CSE / DOS Basics :: section-1

CSE :: 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

    Discuss Discuss in Forum


  3. Which command displays only file and directory names without size, date and time information?

  4. A.

     Dir/w

    B.

     Dir a:

    C.

     Dir /b

    D.

     Dir /s

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which command displays comma for thousand separating on file size while listing?

  6. A.

     Dir/w

    B.

     Dir/s

    C.

     Dir/b

    D.

     Dir/c

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  8. A.

     Dir filename.*

    B.

     Dir filename.ext

    C.

     Dir *.sys

    D.

     Dir *.exe

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which command should be used to display all files within the specified subordinate directory of the subdirectory?

  10. A.

     Dir \ pathname

    B.

     Dir \ pathname\pathname

    C.

     Dir / ch

    D.

     Dir \pathname\filename

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which command displays the directory list including files in tree structure?

  12. A.

     Dir/s/f

    B.

     Tree/f

    C.

     Tree/s/f

    D.

     Dir/f

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which command will be used to display a file within the specified directory of pathname?

  14. A.

     Dir \pathname

    B.

     Dir \pathname\pathname

    C.

     Dir/ch

    D.

     Dir \pathname\filename

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which command creates a directory or subdirectory?

  16. A.

     Dir

    B.

     Mkdir

    C.

     Md

    D.

     Both b and c

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which command displays current directory name or change from one to another?

  18. A.

     Chdir

    B.

     Cd

    C.

     Mkdir

    D.

     Both a and b

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which command is used to delete the directory that is empty?

  20. A.

     Del *.*

    B.

     RD

    C.

     Erase

    D.

     MD

    View Answer

    Workspace

    Discuss Discuss in Forum