I want to use a .bat file that executes the .dir command to create a list of all folders in all subfolders of the current folder.
========================== I am close: I use: dir /s /b /o:n /a:d >list.txt
to get the list of folders along with the full path.
...but I want the list with the folder names only, without the fullpath.
Is that possible?