Batch File Script for Folder Names

If you want a simple list of the subfolders in a folder simply create a .txt file at the root and enter:

dir /a:d /b > list.txt

. . . then save it and change the file extension to '.bat'. Double-click on it and a file name 'list.txt' will be generated with just the subfolder names - no files at the root will be included.