Assistance please with batch file to delete empty folders
Posted: 14 Feb 2013 04:29
Hi
Could someone please offer me a batch file that will delete all empty folders and subfolders in a designated place.
The reason is that I have a backup program that is set to perform incremental backups every day but in doing so it copies every folder & subfolder on the destination drive even if it's empty.
There is a setting on the program to delete the empty folders after each backup but for some reason it doesn't always work.
Any help would be appreciated.
Thanks
Could someone please offer me a batch file that will delete all empty folders and subfolders in a designated place.
The reason is that I have a backup program that is set to perform incremental backups every day but in doing so it copies every folder & subfolder on the destination drive even if it's empty.
There is a setting on the program to delete the empty folders after each backup but for some reason it doesn't always work.
Any help would be appreciated.
Thanks