Examveda

Which command is used to provide access to files located in other directories or disks?

A. Tree

B. Path

C. Dir

D. Cd

Answer: Option B

Solution (By Examveda Team)

The Path command in DOS is used to provide access to files located in other directories or disks by specifying a search path.

It allows DOS to locate executables and other files without needing to specify the full path every time.
The PATH environment variable in DOS lists directories where executable files are located.

Tree displays the directory structure in a tree-like format, but it does not provide access to files located in other directories or disks.

Dir lists the contents of the current directory, but it does not provide access to files in other directories or disks.

Cd (Change Directory) is used to change the current directory within the same disk, not to provide access to files on other directories or disks.

Therefore, the correct answer is Option B: Path.

This Question Belongs to Computer Science >> Disk Operating System (DOS)

Join The Discussion

Comments (1)

  1. Rashmi Ranjan
    Rashmi Ranjan:
    4 years ago

    Which command is used to provide access to files located in other directories or disks?

Related Questions on Disk Operating System (DOS)