Delete empty folders and files bat
Open the link: www.intelliadmin.com/index.php/downloads/
Find the Delete Empty under Free Utilities
Specific parameters
DelEmpty.exe OPTIONS [PATH]
The following OPTIONS are available for use in the command:
-f delete files of size zero
-d delete empty directories
-v verbose mode
-c confirm mode (Shows what was deleted)
-s include sub-directories
-l list what would be deleted (lowercase L-does not actually delete the empty folders or empty files)
-y delete without (yzone) prompt
I use the following command to clear no specific folder and its subfolders and empty files under the disk.
F:\ > DelEmpty.exe-d-s-f-c-y e:\ Vis
Join the scheduled task to automatically perform checks every day
Reference document: https://www.howtogeek.com/122294/automatically-clean-out-and-remove-empty-files-and-folders/