Listing only filenames with DIR command
Listing only filenames of files in a directory - folders are not listed - in DOS and Windows Command Prompt by DIR command:
DIR /B /A-D
Operating systems
- MS-DOS: tested under MS-DOS 6.22
- Windows: tested on Windows 7