If you want to list empty folders then why are you trying to DELete something. If you want to delete directories, use RD. If you want to list directories have a look at TREE. Of course DIR /A:D /S will also list directories but that gives you no information about any files in them. If you want to do that, you can use the list of directories DIR ... selects for you in a DO loop and test the contents of each directory on your criteria.
Going back to your example, DEL /S /X * will delete all files and remove any empty directories afterwards. Remember that DEL is file oriented so you might say that with the "convenience" option /X the directories are removed as a side-effect. If it is directories you want to remove, without any concern about the files they contain, then RD /S * would be more "appropriate".
Hope this helps,
DJ