Vidyalelo
Computer Science · Q17

Disk Operating System (DOS)

Engineering and GATE · Computer Science · question 17

Q17

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

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

Answer: Option D

Solution

Answer: Option D
Solution:
Displaying a file which is inside specified directory can be done by specifying a directory name \ andfilename.