recursively removing empty directories
hello.
i've done an uninstaller that reads files from install.log.
i have one problem, it does not remove empty directories.
this is because when trying to remove directories, it looks like this:
C:\dir - not empty
C:\dir\dir2 - not empty
C:\dir\dir2\dir3 - not empty
C:\dir\dir2\dir3\dir4 - empty: REMOVE!
etc
my uninstaller leaves about 112 empty directories.
therefore, i was wondering if there is some sort of plugin or script or macro that i can use for recursively removing these empty directories?