Hi Benoit, I think I found the error: I was using Dir(DirView1.Current, *"*.*"*, gb.File).Sort() instead of Dir(DirView1.Current,* "*"*, gb.File).Sort(). Although I don't understand why "*.*" wasn't correct. Csaba