Dim loDirectory As New DirectoryInfo(cDirectory) Dim loFile As FileInfo ' Get all the files in the directory For Each loFile In loDirectory.GetFiles(cFilter) ... Next...with cFilter equals to "*.crp", this would retreive the files with extension "crp". But, if I have some files with a filename such as "MyFile.crp2", this would be retrieved as well. It might have been a coincidence I didn't see that before. How can I assure that a filter to "*.crp", would only retrieve those files and not files with a name such as "MyFile.crp2"?