Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your Windows 7 behavior is <strong>by design</strong>. From the <a href="http://msdn.microsoft.com/en-us/library/wz42302f.aspx" rel="nofollow">documentation on the GetFiles() method</a> (see the first note below the "Remarks" section):</p> <blockquote> <p>When using the asterisk wildcard character in a searchPattern, such as "*.txt", the matching behavior when the extension is exactly three characters long is different than when the extension is more or less than three characters long. A searchPattern with a file extension of exactly three characters returns files having an extension of three or more characters, where the first three characters match the file extension specified in the searchPattern. A searchPattern with a file extension of one, two, or more than three characters returns only files having extensions of exactly that length that match the file extension specified in the searchPattern.</p> </blockquote> <p>The Windows 8.1 behavior is a <strong>not reproducible</strong> for me. I just ran a test on my Windows 8.1 x64 machine, and it matched the expected Windows 7 behavior. I would check that the current folder on the machine is correct.</p> <p>I can also get the same results just by opening up a command prompt, navigating to the appropriate directory, and typing <code>dir *.xls</code>. I expect that both the GetFiles() function and the command prompt will pass the search pattern into the same low-level operating system function.</p> <p>It's talking about some different issues, but this post is also worth a read: </p> <blockquote> <p><a href="http://blogs.msdn.com/b/oldnewthing/archive/2007/12/17/6785519.aspx" rel="nofollow">http://blogs.msdn.com/b/oldnewthing/archive/2007/12/17/6785519.aspx</a></p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload