Does anyone know of any DOS commands that checks or test if a file is empty (0 byte)? Is this even possible? I have been searching the internet and I see where others have asked the same question but never received a response.
I would like to test if certain files in a directory are zero bytes in size and if so skip or delete that file.
For example;
If first file is > 0 byte then go to next file
etc
Any help on this will be most appreciated.
Thanks.