Jim,

Tried the following bit of code and it works fine.
Code:

cls
break on
?@kix
$FileName = Dir("C:\!chkout\*.xml*")
While $FileName <> "" and @ERROR = 0
? $FileName
$FileName = Dir() ; retrieve next file
Loop
get $



And.. Get the following results:
Quote:


4.22
test(1).xml_1
test.xml

4.50 Release Candidate 1
test(1).xml_1
test.xml





HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's