RmDir (Remove Directory) only if empty?
Is there a way to check and see if a directory is empty, and if so, delete it?
I'm guessing something with wild cards to check and see if *.* exists or something? Am I on the right track here, or is there a built-in macro for this?
I thought something like this may work:
IfFileExists DIRECTORY\*.*
But that jumps if the directory exists, even if it is empty.