Multiple choice technology operating systems

Which command is used to see the sub-directory structure of drive?

  1. Tree

  2. List

  3. Subdir

  4. Subtree

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The TREE command displays the complete directory structure of a drive in a hierarchical tree format, showing all folders and subfolders. Unlike DIR which lists contents of one directory, or LIST/SUBDIR which are not standard DOS commands, TREE recursively shows the entire folder hierarchy. This visualization helps understand how directories are organized and nested.

AI explanation

The DOS/Windows command-line utility TREE displays the directory structure of a drive or path as an indented hierarchical diagram, exactly matching 'see the sub-directory structure of drive.' 'List', 'Subdir', and 'Subtree' are not standard DOS/CMD commands for this purpose (DIR lists files/folders in one level, but isn't named among the options, and none of the listed distractors exist as real commands for hierarchical directory display). TREE is the well-known, documented command for this exact task.