if wintosh deletes it but command prompt not, check the file-attributes.

you can use the kix delete just fine.
but if there is file-attribs, not sure do you need to reset them first.
something like setfileattrib($file,$normal)
_________________________
!

download KiXnet