Vidyalelo
Computer Science · Q9

Disk Operating System (DOS)

Engineering and GATE · Computer Science · question 9

Q9

Which command lists the contents of current directory of a disk

A.
Copy
B.
Tree
C.
Cd
D.
Dir
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Dir command lists the directory of current location. It includes the files, subdirectories and some other system information. Tree command is used to list the directory structure in tree diagram; CD command to change directory and Copy command to copy a file into another.