How to Search Files with Wildcards in Windows 95
Windows 95 revolutionized the personal computer experience by integrating graphical file searching directly into the desktop environment through its native Find utility. This tool allowed users to locate specific documents and programs across large hard drives by employing traditional wildcard characters inherited from MS-DOS. This article explains how users accessed the Find utility, how the asterisk and question mark wildcards functioned with modern long filenames, and how these queries were combined with other filters to locate files efficiently.
Accessing the Find Utility
In Windows 95, searching was deeply integrated into the graphical shell. Users could open the search interface in several ways:
- Clicking the Start button, navigating to Find, and selecting Files or Folders.
- Pressing the F3 key directly on the desktop or while viewing an active Windows Explorer window.
- Right-clicking any drive or folder icon and selecting Find from the context menu to limit the initial search scope.
Once opened, the utility presented a tabbed dialog box. The primary tab, Name & Location, contained a field labeled Named: where users entered filenames and search patterns.
The Role of Wildcards
The Find utility relied on two fundamental wildcard characters
inherited from DOS conventions: the asterisk (*) and the
question mark (?).
1. The Asterisk (*)
The asterisk represented zero or more characters in a filename or file extension. It allowed users to match broad categories of files when only partial information was known:
- File type searches: Entering
*.txtinstructed the utility to return every text file, regardless of its name. - Prefix matching: Entering
project*.*matched any file beginning with the word "project," such asproject_notes.docorproject_budget.xls. - Sub-string matching: Entering
*report*found any file containing the word "report" anywhere within the filename, regardless of file extension or character placement.
2. The Question Mark (?)
The question mark served as a single-character placeholder, representing exactly one character per mark. This was useful for structured file naming systems:
- Single-character variance: Searching for
file?.docmatchedfile1.docandfileA.doc, but ignoredfile10.doc. - Fixed-length patterns: Entering
????.bmpretrieved any bitmap file that had an exact name length of four characters.
Wildcards and Long Filenames
A major technical enhancement in Windows 95 was native support for Long Filenames (LFNs) of up to 255 characters, replacing the strict 8.3 character limit of MS-DOS. The Find utility applied wildcard logic to both the visible long filename and the underlying 8.3 alias automatically generated by the operating system. This ensured that searches remained accurate regardless of whether the user searched against contemporary extended names or legacy formatted files.
Enhancing Searches with Location and Attributes
Wildcard searches could be further refined using the utility's secondary controls:
- Look in: Users could specify a single local
directory, an entire hard drive (
C:), or all local drives using the drop-down menu. - Include subfolders: Checking this option ensured the wildcard pattern traversed the entire directory tree beneath the chosen path.
- Date Modified and Advanced tabs: Wildcards could be paired with date ranges, minimum or maximum file sizes, and specific text contained within the files to narrow down thousands of matches quickly.