Find File Command Fails to Find Files When Using Wildcards

Last reviewed: February 5, 1998
Article ID: Q117210
6.00 6.00a WINDOWS kbusage

The information in this article applies to:

  • Microsoft Word for Windows, versions 6.0, 6.0a

SYMPTOMS

The Find File command (located on the File menu) may fail to find files when performing searches that includes wildcard characters such as the asterisk or question mark.

   If you search for      Word does not find files that
   -----------------      -----------------------------

   *.*                    Have no extension

   *.D*                   End with the single character D

   *.D0*                  End with DO

   *.???                  Have fewer than three characters in the extension

   *.??                   Have fewer than two characters in the extension

   .?                     Have no extension

STATUS

Microsoft has confirmed this to be a problem in Word versions 6.0 and 6.0a for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUNDS

Method 1: When searching for files with no extensions, use a single

          asterisk in the File Name box and do not include the period which
          normally separates the filename and the extension. The drawback
          to this method is that it will list all files in the search path.

Method 2: When searching for files containing a two-letter extension, use
          the question mark (?) wildcard character. For example, to search
          for all files with a two-character extension, type "*.??"
          (without the quotation marks) in the File Name box. If you search
          for files with a single character extension, use "*.?" to find
          your files.

MORE INFORMATION

This functionality also works incorrectly in Microsoft Excel 5.0 and PowerPoint 4.0. Using the wildcard characters in the File Open dialog box in each of these applications works correctly. This feature works correctly in Word versions 2.x.

REFERENCES

"Microsoft Word User's Guide," Chapter 22, "Locating and Managing Documents"


KBCategory: kbusage
KBSubcategory:
Additional reference words: 6.00 6.00a wildcard asterisk find file question
word6 winword mark
Version : 6.00 6.00a
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.