I've written a few simple scripts, but never used a udf before.
I thought this would be something simple. Sorry about that.

This is all I have. Obviosuly I'm missing something.


for each $file in readfile('\\server\c$\delete_these_files.txt')
del 'C:\program files\'$file
next