I hadn't tested any of it... the deleting portion is from a UDF from here that I cut 'n pasted in...

did you supply a $gatordir... perhaps the UDF goes ape when passed a nul and it starts recursing at the root of c: ?? I dunno, I've never used it.
_________________________
How to ask questions the smart way <-----------> Before you ask