CannotResolveSymbol said:
DuneAgent said:
*snip*
Could you post the output of dir /x in that directory?

I'll bet that all of those files have short names like SOMETH~3.EXT, in which case, it's not a bug, it's a "feature" (Windows maintains 8.3 names for all files for backwards compatibility, and all files can either be referenced by their long or short names).

If this is a problem, you have two options:  turn off short filename creation (which will cause problems with DOS and 16-bit Windows apps) or use a regular expression to filter results returned from Directory.GetFiles.
Yep, your right Smiley

Just turned 8.3 filenames off ("fsutil.exe behavior set disable8dot3 1") and only old files will be shown that have short names with the search filter.
New files will not have that strange feature anymore.

Any suggestions on how to convert a search filter to a regular expression?

Thanks,
Mark