Sunday, May 15, 2011

One-line batch script to delete empty directories - The Old New Thing - Site Home - MSDN Blogs

One-line batch script to delete empty directories - The Old New Thing - Site Home - MSDN Blogs: "for /f 'tokens=*' %%d in ('dir /ad/b/s ^| sort /R') do rd '%%d'"

No comments:

Post a Comment