How to get a list of folders only to be used in a batch file

How to get a list of folders only to be used in a batch file

I have been asked a few times "How do I get a list of folder names only to be used in a windows batch file?"There a likely several ways to accomplish this depending on your intended use but for a simple list of folders found in a particular directory...

Close