WinWord: Searching for Multiple Extensions with File FindLast reviewed: February 5, 1998Article ID: Q80250 |
The information in this article applies to:
SUMMARYIn Microsoft Word for Windows, you can use the Open command on the Find menu (or the File Find command for Word versions 6.0 and earlier) to search for files that have different extensions but are in the same directory. However, the search path is limited to 255 characters. If the search path reaches or exceeds the 255-character limit, the path line will be unavailable. You must use Edit Path and delete some search entries to make the path available. One way to circumvent this limitation is to use a WordBasic macro to set up multiple search iterations.
MORE INFORMATION
ScenarioYou create a folder identified as "C:\Documents" and move all of your text- based files to this folder. In C:\Documents, you have files with eight different extensions; however, in this example you want only five of these extensions to be maintained in the search list. The five extensions you want included in the search list are .bba, .doc, .log, .rpt, and .txt. To set up File Find to search for the different extensions within the same directory, use the following steps:
Word 97, 7.0
Word 6.0
Word 2.0
REFERENCES"Microsoft Word for Windows User's Guide," version 2.0, pages 494, 498
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |