Only filenames and extensions are to be displayed in wide format, which command you’ll use?
-
Dir/w
-
Dir a:
-
Dir/s
-
Dir/b
The DIR/W command displays only filenames and extensions in a wide format, showing multiple files per row without additional details like file size or date. This is the correct command for the specified requirement. DIR A: accesses a specific drive, DIR/S includes subdirectories recursively, and DIR/B shows only filenames. The /W switch specifically creates the wide format display.
DIR /W lists directory contents in 'wide' format — filenames and extensions only, arranged in multiple columns across the screen, omitting file size, date, and time details. This is exactly what the question asks for. DIR A: simply lists the contents of the A: drive (unrelated to format). DIR /S recurses into subdirectories, listing all files in the tree. DIR /B uses 'bare' format, listing only filenames with no headers/summary but in a single column per line, not the multi-column wide layout. So /W is the correct switch for a wide, names-only display.