in reply to script that logs and deletes old windows files

Some functions that might be good to know:

open
print
readdir
stat
unlink

Try it out! Get a test area set up and go nuts! see what happens :)