Vidyalelo
Computer Science · Q15

Disk Operating System (DOS)

Engineering and GATE · Computer Science · question 15

Q15

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

A.
Dir \ pathname
B.
Dir \ pathname\pathname
Answer
C.
Dir / ch
D.
Dir \pathname\filename

Answer: Option B

Solution

Answer: Option B
Solution:
The subordinate directory of subdirectory can be accessed through the path sequence pathname\pathname and dir command lists the files of that location.