zap deletes files currently in use, no matter which they are and no reboot required ever!
Well would have to disagree with that as I've used the tool and a couple other like it in the past and there are files that can not be killed while in memory by this or any of the other utils I tried.
Though blindly doing this in a script could be very problematic. Even being used as a script to remove spyware can actually cause the entire box to freeze and then on reboot the same file you were trying to remove will be back again.
Not that it could not have a purpose so not saying not to have it but overall the /P switch (IMHO) would often be a better choice.