Vidyalelo
Computer Science · Q19

Disk Operating System (DOS)

Engineering and GATE · Computer Science · question 19

Q19

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

A.
Chdir
B.
Cd
C.
Mkdir
D.
Both a and b
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
CD and CHDIR commands are equivalent and both used to change current working directory to another one. MKDIR creates a new directory and can't be used to change.