how to delete only empty directories from a batch file

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-04-23T10:47:32Z Indexed on 2010/04/23 11:03 UTC
Read the original article Hit count: 244

Filed under:
|

Is there a way to delete all empty sub-directories below a given directory from a batch file?

Or is it possible to recursively copy a directory, but excluding any empty directories?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about batch-file