>George,
>
>It seems to me that I found a solution by myself. It's not easy and elegant, but should work. It requeres one assumption (but I don't think it makes a serious limitation): all files, which we consider, should have an extension, e.g.:
>file.ext
Be careful with this... a directory can have an extension as well -
md wayne.000
HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown