Why do you need a script to do this? Do you need to run this often?

It it is a one-off clean-up, why don't you open the directory in Windows Explorer, sort by file size, then block select those with zero bytes and delete?