Non-Recursive Version
If you only want to re-create the top-level, selected directories and not the other directories inside them, use this command:
@dirsonly
@nofilenamequoting
CreateFolder NAME "{destpath$}{file$|noterm}"
That will take the folders selected in the source window/panel and create empty folders with the same names in the destination window/panel.
Recursive Version
If you want to re-create an entire hierarchy of empty directories you can do that as well.
The button below will copy just the selected folders and sub-folders -- but not any of the files -- from the source to the destination.
In other words, it will recreate the selected directory structure in the source by creating matching empty directories in the destination.
The screenshot below shows an example where the original structure on the left has been recreated on the right:
The button requires you to create a simple filter which matches the special [Folders Only] file type. You can do this via Settings -> Preferences as shown below:
Make sure you click OK or Apply in the Preferences window to finish creating the filter.
The button itself is very simple:
Copy FILTER="Folders Only"
Obviously, if you didn't call your filter Folders Only then you should change the name given to the Copy FILTER="xyz" command.
That's it. Now select the directories you wish to recreate and click the button to make it happen.