in reply to Unlink not deleting, Threading issue?

I would start by checking $! for an error message.

-- FloydATC

Time flies when you don't know what you're doing