I want to create a batch file that should delete only 0 KB file. I have created a batch but it also delete file of 1 KB. So please help me out with perfect suggestions to delete only 0 KB. I used below code but it also delete 1 KB file.
for /r %%F in (EDC*.*) do if %%~zF LSS 1000 del "%%F"