Export folder listing but excude files?

In the Print/Export Folder dialog, turn on Flat View (and add any Location or Full Path column(s) that you want), and also turn on Use Filter and then Define...

Set the filter to Type - Match - [Folders Only]

Like the filter in Recreate Empty Directory Structure (Recursive Version).