Which switch should be used in the DIR command to view files in all directories? A. /p B. /w C. /s D. /l

[amp_mcq option1=”/p” option2=”/w” option3=”/s” option4=”/l” correct=”option3″]

The correct answer is C. /s.

The /s switch tells the DIR command to list all files in the current directory and all subdirectories.

The /p switch pauses after each screenful of output.

The /w switch displays a wide listing, with filenames and attributes displayed on multiple lines.

The /l switch displays filenames in lowercase.