Re: FindFirstFile and underscore

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ulrich Korndoerfer (ulrich_wants_nospam_at_prosource.de)
Date: 08/10/04


Date: Tue, 10 Aug 2004 19:02:06 +0200

Hi,

Donald Lessau wrote:
>
> Just another pro-Like point (I'm becoming a fan): there's also something
> nice in Like's case-sensitivity: suppose you want to find all files "K*.*"
> but not "k*.*" -- you can't do that with PathMatchSpecW!

There is much more you cannot do with PathMatchSpec. Like pattern syntax
is much more expressive. Eg. think of "[m,n]xyz" etc.

PathMatchSpec sticks to a special interpretation of patterns suitable
for (DOS) file system items. Like does not prejudge. It does pattern
matching on sequences of characters. Nothing more, nothing less.

-- 
Ulrich Korndoerfer
VB tips, helpers, solutions -> http://www.proSource.de/Downloads/