Kent, I think Jim's problem was it was showing all files when the line is like this:

$FileName = Dir("C:\!chkout\*.xml")

(Doesn't have the second "*"...)

And I can't seem to put my hands on my buggy script right now
_________________________
(... better days ahead)