Listing only folder names with DIR command
Listing only folder names in DOS and Windows Command Prompt by DIR command. Only folder names, not any other information is printed. Files are not listed:
DIR /B /AD
Operating systems
- MS-DOS (tested under MS-DOS 6.22)
- Windows