tags:

views:

78

answers:

2

The Windows API FindFirstFile() and FindFirstFileEx() accept wildcard characters for the path to search, "for example, an asterisk (*) or a question mark (?)". No where can I actually find an explanation of which others (if any) characters it accept, and more importantly what they mean in the context of FindFirstFile.

Can someone please provide an explanation? Thanks.

+1  A: 

You found them all, there are no other ones in currently shipping versions of Windows. The exact pattern matching behavior isn't documented anywhere that I can find, looks like MSFT wants to keep that flexible for some kind of future revision.

The shell pattern matching behaves the same as FindFirstFile, that's documented here.

Hans Passant