Copy Folders without Files

If you want to copy a complete folder structure, but not the files contained in it, use robocopy from the command line:

robocopy "A:\Source folder" "B:\Destination folder" /e /xf *

This is lifted straight from, I’m just putting it here for my quick reference.

Leave a Reply

Your email address will not be published. Required fields are marked *