delete files with a 0kb size automatically
Posted on 2006-06-30
I'm looking for a Windows XP solution. I'd like to be able to write a script or a batch file to allow me to create a file that will look for and delete files in a specified location with a file size of 0kb. I plan to use task scheduler to run it on a regular basis. A nice side benefit would be the ability to create a text log of how many files were deleted and the date and time they were deleted. Any thoughts?