Archive: Detecting Empty Folders


Detecting Empty Folders
I'm trying to detect all empty folders, subfolders, etc... under a specified directory in order to delete them. I understand this involves a loop but I don't know how to do it. Any assistance provided is appreciated.


IfFileExists "MyFolder\*.*" Exists DontExists

if this is not good enough, have a look at these