I assume the UDF code is in there somewhere.

del 'C:\program files\'+$file
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.