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

/p
/w
/s
/l

The correct answer is C. /s.

The /s switch tells the DIR command to list all files in the

xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"> Subscribe on YouTube
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.

Exit mobile version