Hello Dear
Thanks for helping. I have test your codes.
Following error message appears
Variable "allfiles" is not found
and debugger stops on this line of code
FOR i = 1 TO ALEN(allfiles,1)
What is wrong pleae modify and help again.
Thanks in advance