Thanks guys, that seems to work perfectly. There's one other issue that I'm hoping somebody will be able to help me with, though. When the script gets to the delete section, there is always a good chance that one of the files will be in use and the script will exit with an error. Is there perhaps some kind of "On Error Resume Next" that I can use to get round it?
Edit:
It appears that it does that anyway. Sorry.
__________________
"No one was behaving from very Buddhist motives. Then, thought Pigsy, he was hardly a Buddha, nor was he a monkey. Presently, he was a pig spirit changed into a little girl pretending to be a little boy to be offered to a water monster. It was all very simple to a pig spirit."
Last edited by John Henry; 04-05-2005 at 03:51 AM..
|