Eli Zaretskii wrote:
> there's another subtlety in Windows globbing of wildcards: it
> matches both the "normal" file names and their 8+3 aliases.
> Therefore, "????????" (8 ? characters) will match every file without
> an extension, and "????????.???" will match all the files.  But
> perhaps the most surprising consequence of this is something this guy
> bumped into:
> 
>   
> http://answers.microsoft.com/en-us/windows/forum/windows_7-files/is-this-a-known-problem-with-windows-wildcard/fbd381a5-bb80-e011-9b4b-68b599b31bf5

Oh really. When I tried to list all files that end in '1', I get:

C:\>dir *1
 Datenträger in Laufwerk C: ist Local Disk
 Volumeseriennummer: 7074-65BF

 Verzeichnis von C:\

28.03.2009  03:33    <DIR>          3f2f406460a40ccd4dd45efd1a9a9a7c
09.06.2011  02:30    <DIR>          cygwin17b
28.04.2011  23:21    <DIR>          Dokumente und Einstellungen
14.04.2012  01:44    <DIR>          Programme
08.11.2009  03:40             1.024 .rnd

This is *so* broken.

Bruno


Reply via email to