Click here to Skip to main content
15,920,633 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Dear Microsoft... Pin
tgrt4-Dec-14 6:26
tgrt4-Dec-14 6:26 
GeneralRe: Dear Microsoft... Pin
Gary Wheeler4-Dec-14 7:03
Gary Wheeler4-Dec-14 7:03 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 7:14
mvePIEBALDconsult4-Dec-14 7:14 
GeneralRe: Dear Microsoft... Pin
Gary Wheeler4-Dec-14 7:19
Gary Wheeler4-Dec-14 7:19 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 7:22
mvePIEBALDconsult4-Dec-14 7:22 
GeneralRe: Dear Microsoft... Pin
SoMad4-Dec-14 9:59
professionalSoMad4-Dec-14 9:59 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 10:18
mvePIEBALDconsult4-Dec-14 10:18 
GeneralRe: Dear Microsoft... Pin
Richard Deeming4-Dec-14 8:12
mveRichard Deeming4-Dec-14 8:12 
Sounds like a backwards-compatibility issue:

But some quirks of the FCB matching algorithm persist into Win32 because they have become idiom.

For example, if your pattern ends in .*, the .* is ignored. Without this rule, the pattern *.* would match only files that contained a dot, which would break probably 90% of all the batch files on the planet, as well as everybody's muscle memory, since everybody running Windows NT 3.1 grew up in a world where *.* meant all files.

As another example, a pattern that ends in a dot doesn't actually match files which end in a dot; it matches files with no extension. And a question mark can match zero characters if it comes immediately before a dot.

There may be other weird Win32 pattern matching quirks, but those are the two that come to mind right away, and they both exist to maintain batch file compatibility with the old 8.3 file pattern matching algorithm.




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 8:28
mvePIEBALDconsult4-Dec-14 8:28 
GeneralRe: Dear Microsoft... Pin
Jeremy Falcon4-Dec-14 8:43
professionalJeremy Falcon4-Dec-14 8:43 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 8:54
mvePIEBALDconsult4-Dec-14 8:54 
GeneralRe: Dear Microsoft... Pin
Jeremy Falcon4-Dec-14 9:02
professionalJeremy Falcon4-Dec-14 9:02 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 9:11
mvePIEBALDconsult4-Dec-14 9:11 
GeneralRe: Dear Microsoft... Pin
Jeremy Falcon4-Dec-14 11:42
professionalJeremy Falcon4-Dec-14 11:42 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 12:59
mvePIEBALDconsult4-Dec-14 12:59 
GeneralRe: Dear Microsoft... Pin
David O'Neil4-Dec-14 9:53
professionalDavid O'Neil4-Dec-14 9:53 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 10:24
mvePIEBALDconsult4-Dec-14 10:24 
GeneralRe: Dear Microsoft... Pin
David O'Neil4-Dec-14 10:29
professionalDavid O'Neil4-Dec-14 10:29 
GeneralRe: Dear Microsoft... Pin
PIEBALDconsult4-Dec-14 10:38
mvePIEBALDconsult4-Dec-14 10:38 
GeneralRe: Dear Microsoft... Pin
David O'Neil4-Dec-14 10:46
professionalDavid O'Neil4-Dec-14 10:46 
AdminGoogle Helpouts on CodeProject PinPopular
Chris Maunder4-Dec-14 4:13
cofounderChris Maunder4-Dec-14 4:13 
GeneralNo flight today Pin
Kornfeld Eliyahu Peter4-Dec-14 3:39
professionalKornfeld Eliyahu Peter4-Dec-14 3:39 
GeneralRe: No flight today Pin
HobbyProggy4-Dec-14 3:45
professionalHobbyProggy4-Dec-14 3:45 
GeneralRe: No flight today Pin
Kornfeld Eliyahu Peter4-Dec-14 3:50
professionalKornfeld Eliyahu Peter4-Dec-14 3:50 
GeneralRe: No flight today Pin
HobbyProggy4-Dec-14 3:56
professionalHobbyProggy4-Dec-14 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.