PDA

View Full Version : 462 How to exclude files with no extension?


chrisjj
16-Jul-2008, 06:05 PM
How may I exclude just files with no extension? "*" does not do.

Thanks.

chrisjj
17-Jul-2008, 07:04 PM
Please?

Aaron
18-Jul-2008, 01:47 PM
One way I know:
Include files with an extension: *.?*

We may be looking at other ways to represent without an extension.

chrisjj
20-Jul-2008, 08:42 AM
> Include files with an extension: *.?*

Thanks, but unfortunately that prangs the effect of other Include Files terms.

> We may be looking at other ways to represent without an extension.

Well... what's wrong with '*' ? ;)

It is really odd that currently '*.*' matches file that have no '.'

Craig
20-Jul-2008, 08:45 AM
Well... what's wrong with '*' ? ;)

The fact that *.* and * match all files is standard Windows behavior dating back to CP/M (http://blogs.msdn.com/oldnewthing/archive/2007/12/17/6785519.aspx). If you have a problem with it you'll have to talk to Microsoft. ;)

chrisjj
20-Jul-2008, 10:01 AM
> The fact that *.* and * match all files is standard Windows behavior ...

Perhaps I shouldn't point out that BC3 fails to accord in e.g. Alignment... ;)

> If you have a problem with it you'll have to talk to Microsoft.

I have no problem with Microsoft software doing that. The reason being that I've chosen not to use Microsoft software for filename matching. Instead I use e.g. BC3 hoping (and usually finding) it not to be hamstrung by compatibility with decades-old legacies.