2.8 Start SearchThe humble Search command looks no more special than anything else on the Start menu. In Windows XP, however, it's a newly revised powerhouse that's far more complex to navigate. Microsoft has even given it a new name ”Search Companion. You'll probably use it often. The Search function can quickly find all kinds of computer-ish things: file and folder icons, computers on your network, Web sites, email addresses, and phone numbers . 2.8.1 Finding Files and FoldersIf you save your files exclusively into the My Documents folder (Section 2.15), you'll have little need to use the Search function to locate your files. You'll always know where they are: right there in that folder. Every now and then, however, you won't remember where you filed something, or you'll download something from the Internet and not be able to find it again, or you'll install something and not know where to look for it. In those situations, the Search command is just what you need (Figure 2-11). It lets you look for a particular file or folder based on its description ”by its name, size, date stamp, and so on. Figure 2-11. Left: The basic Search panel. You might expect that Microsoft had learned its lesson about cute anthropomorphic cartoon characters . Microsoft Bob and Clippy the paper clip, for example, have both gone to the great CompUSA in the sky. But Microsoft is at it again, now with Rover, the search-companion dog. He wags and sometimes even barks as you perform your search. Right: If you click the desktop itself and then press F3, or if you click the "More advanced search options" checkbox that occasionally appears, the Search panel may look slightly different, as shown here.
The Search command can also look for the words inside your files. That's a powerful feature if you remember having typed or read something, but can't remember what you named the file. 2.8.1.1 Starting a searchMicrosoft wanted to make absolutely sure you'd be able to find the Search command. It has provided at least seven different ways to begin a search:
In each case, the Search window appears, as shown in Figure 2-11. Windows XP comes with a set of canned searches (listed at left in Figure 2-11) designed to help you find what you're looking for faster. Click the green arrow next to the one you want (or click the words next to the arrow). 2.8.1.2 Pictures, music, or videoWhen you click this link, the Search panel changes (Figure 2-12, left). Turn on the checkboxes you want, and type in part of the file name. Figure 2-12. Left: This panel appears to help you search for multimedia files. Middle: You're all set to search for documents that you've created or downloaded. Right: This kind of search is slower, but more complete ”it searches for everything, including program files and Windows system files. (It doesn't, however, search for metadata in picture, movie, and music files, as does the first kind of search.)NOTE As a bonus, this kind of search can also find text inside the metadata stored with each multimedia file ”the behind-the-scenes descriptive information like pixel dimensions (for photos), and rock group name or music genre (for music files). You can type, for example, Beatles into the "All or part of the file name" text box to turn up MP3 files recorded by that band , or 800 x 600 into the text box to find JPEG files of precisely that size. 2.8.1.3 Documents (word processing, spreadsheet, and so on.)This link produces the panel shown second from left in Figure 2-12. It comes set to search only for documents ”files that you can create or download. In other words, it doesn't bother looking through hidden files, system files, application files, and so on. And it doesn't find the names of folders at all ”just files. 2.8.1.4 All files and foldersClicking this link produces the panel shown at right in Figure 2-12. This is the slowest kind of search, because it searches the thousands of hidden in-system files as well as the ones that you've created yourself. This kind of search offers a number of useful power features:
Windows uses the checkboxes you turn on in addition to any data you entered into the basic search fields. 2.8.2 Managing the Found Files and FoldersOnce you've set up the search, click the Search button (or press Enter). As the search proceeds, the screen changes. On the right side of the window, you now see a list of files and folders whose names contain what you typed in the blank. (Figure 2-14 shows this list.) Figure 2-14. You can manipulate the list of found files much the way you'd approach a list of files in a standard folder window. For example, you can highlight something in the list by typing the first couple of letters of its name, or move up or down the list by pressing the arrow keys. You can also highlight multiple icons simultaneously . Highlight all of them by choosing Edit Select All, highlight individual items by Ctrl-clicking them, drag vertically over the list to enclose a cluster of them, and so on.NOTE Anything that Windows XP finds in your My Documents folder shows up twice in the list. Repeat to yourself each morning: "It's not my fault." 2.8.2.1 Using the Search Results panelAt this point, you can proceed in many different ways. A few of these ways are listed in the panel at the left side of the window (the exact assortment depends on the kind of search you performed).
2.8.2.2 Using the results listYou can also manage the list of found files by treating the right side of the window just as you would any desktop window. For example:
2.8.3 Searching for PrintersWhen you're logged on to your Windows network domain, you search for Active Directory printers by clicking "Printers, computers or people" on the first Search screen. (Chapter 19 explains all about Active Directory.) NOTE The Find Printers dialog box isn't available to workgroup computers. If your PC is on such a network, use the Printers and Faxes option instead to locate, view, or add printers. If you're part of a network domain, on the other hand, you can use either the "Printers, computers or people" to search for Active Directory printers or using the Printers and Faxes feature to add, locate, or view printers that are used by your PC. (Chapter 13 discusses the Printers and Faxes feature in detail.)
On the next screen, click "A printer on the network" to open the Find Printers dialog box, as shown in Figure 2-15. On the Printers tab, click the In box's down arrow to select the entire directory or specific domain that you want to search, or click Browse to locate the domain. It isn't necessary to enter any further search criteria, but if you do want to get more specific, you have a few search options available:
Figure 2-15. The Find Printers dialog box lets you refine your search criteria using the Printer, Features, and Advanced tabs. Left: The Printer tab lets you enter basic search information. Middle: On the Features tab, you can get more specific in your search for the perfect printer: whether it prints in color or on both sides of the paper, for example. Right: The Advanced tab affords you the most specific search of all. You can use formulas to specify search criteria like the language the printer "speaks" or the minimum print resolution you need.After you've entered your search criteria, click Find Now. When the PC finishes the search, a list of printers that fulfill your criteria appears. Connect to one of them by right-clicking its name and then choosing Connect from the shortcut menu. NOTE As with the "All files and folders" search, you can save the search you've just set up by Choosing File Save Search. To use the search criteria again, double-click the saved .fnd file. When the Find Printers dialog box opens, click the Find Now button to commence the canned search. 2.8.4 Searching for ComputersIf you click "Printers, computers or people" on the first Search screen, and then click "A computer on the network" on the next one, the Search program lets you type in the name of another computer on your network (if you're on one). If you search for ac, the search will turn up accounts, packages, and so on. There's no browse function; you have to know at least part of the name of the computer you want to find. Of course, if you're trying to find another PC on the network, you can simply open the My Network Places window (Section 2.11), which shows you icons representing all the computers on your network. So why would you ever use the Search function to find a computer? Because it sometimes finds computers that My Network Places can't. Every Windows veteran has lost count of the number of times computers have been missing from My Network Places. In such cases, the Search function is the reliable way to locate the computer and thus access its contents. 2.8.5 Searching for PeopleIf you click "Printers, computers or people" on the first Search screen, you'll find, on the second screen, an option called "People in your address book." This tantalizing option lets you type in somebody's name; the Search program can consult any of several "White Pages" Web sites online in an attempt to track down that person's email address and telephone number. It can also search your own Windows address book when you want to check someone's phone number or other information. NOTE This option has additional power when used on a corporate domain network. See Chapter 19 for more on domains, and Section 2.8.5 for more on searching for people (or their phone numbers) on yours. 2.8.5.1 Searching your address bookAs one of the bonus freebie programs that come with Windows XP, you get a program called Address Book. (It's an address book.) You can look at yours by choosing Start All Programs Accessories Address Book, although the place you're likely to use it the most is when you're in an email program like Outlook Express, which is described in Chapter 12. In any case, clicking "People in your address book" brings up the dialog box shown in Figure 2-16. Figure 2-16. Windows assumes that you want to search your address book for a certain name or email address. Enter information in one or more fields ”you can use partial words ”and then click the Find Now button. All matching entries appear at the bottom of the window.2.8.5.2 Searching phone books on the InternetNo matter how social a person you are, it's theoretically possible somebody out there has managed to elude your address book. There may be times that you want to look up the phone number or email address of someone who's not only not in your address book, but not even in your physical phone book. Fortunately, you live in the Internet age, where a number of Web sites serve as worldwide "White Pages." Use the Look In drop-down list (see Figure 2-16) to display a list of these people-finding Web sites (Bigfoot, WhoWhere, and so on). Now choose a search service; as a little experimentation will quickly demonstrate , some of these sites work better than others. You must be connected to the Internet to use this feature (or your browser must be configured to start your Internet connection automatically when it opens; see Section 10.5). The dialog box that appears has two tabs:
When you're finished setting up your search, click the Find Now button. The Search program uses your existing Internet connection to send the query off to the chosen Web site. After a few minutes, you'll get a response, even if it's "No response." Unfortunately, the technology gods don't smile on this feature. Sometimes you get outdated email addresses. And sometimes you get no results at all ”the search Web sites do one quick pass of their databases and then return an error message. That message might say simply that the person couldn't be found, or it might say, "The search could not be completed within the time specified for this directory service." (In other words, the search engine took a quick look, didn't find an exact match, and doesn't want to keep looking.) NOTE Instead of using the Find People dialog box, it's frequently more productive to work directly on the directory Web page. After choosing the search engine you want to use from the drop-down list, click the Web Site button. In a flash (or in a few minutes, depending on the speed of your Internet connection), you're on the Internet and the browser window displays the search engine you selected. Working from the search engine directly on the Web instead of using the Search feature as an intermediary offers more powerful choices for searching. 2.8.6 Searching the InternetAny old computer can search for the files on its own hard drive. The Search Companion's special twist, however, is that it lets you use exactly the same program to search for information on the World Wide Web. To put the program into search-the-Internet mode, click Search the Internet on the main Search panel (shown at left in Figure 2-11). The "What are you looking for?" panel appears, complete with a place to type a search phrase. When you click the Search button, your PC goes online and submits that request to MSN Search, which is Microsoft's version of a search page like Google or Yahoo. NOTE To specify which search engines Windows XP consults, click "Change preferences" in the main Search panel and then click "Change Internet search behavior." You now have the opportunity to specify the default search engine you want Windows to use: Google, AltaVista, Yahoo, or whatever. Windows now goes online, sends your search request to the selected Web site and, after a moment, shows you the results of its search: a list of Web pages containing the text you typed (see Figure 2-18). Figure 2-18. Top left: When you search the Internet, don't mind the "Sample question" that appears beneath the search blank; it's simply designed to give you some ideas of the ways you can phrase your search requests . Top right: You get a list of Web pages that contain the text you seek, along with some suggestions on ways to "refine your search" (such as visiting Microsoft's commercial partners to buy books, music, and so on). The best part is the "Automatically send your search to other search engines" link (not shown). If you click it, Windows puts each of the major search pages only one click away. Bottom: From here, you can generally read the first paragraph of text that appears on the Web page, go to the page by clicking its link, and so on.2.8.7 The Indexing ServiceThe regular Windows XP Search command can locate words inside your files ”a handy feature when you're trying to turn up a document whose contents you know, but whose name you can't remember. Just don't try it on a deadline; it's painfully slow. To eliminate that delay, Microsoft has programmed Windows XP with an optional feature that does something ingenious. Like a kid cramming for an exam, it can read, take notes on, and memorize the contents of all of your text-based files: text files, HTML documents, Microsoft Office files, email, and so on. (You can make it understand other kinds of documents, too, if you buy additional filters made by third-party software companies.) After indexing your hard drive in this way, XP can pinpoint text or file properties in seconds. The only downside is that you sacrifice a few megabytes of disk space to the hidden "card catalog." If that's a tradeoff you're willing to make, you'll definitely enjoy the Windows XP Indexing Service, as it's called (just as it was in Windows 2000). To index your files, proceed as shown in Figure 2-19. Figure 2-19. Left: To turn on the Indexing Service, open the Search panel and then click "Change preferences." On the next panel, click "With Indexing Service" (for faster local searches)." Right: Click "Yes, enable Indexing Service." The Indexing Service starts and works automatically in the background, creating a file that takes up about 25 percent as much disk space as the documents it indexes. (It tosses out unhelpful words like the, of, and a, and performs other compression tricks to reduce the index file size.)Once the Indexing Service has completed its analysis of the files on your machine ”which can take many hours ”you don't need to do anything special when searching for words inside your files. Just enjoy the amazing speed with which your Search program now rounds up files according to their contents or properties ”and enjoy the fact that the Indexing Service will continue to keep itself up to date, automatically indexing any files you create or edit.
NOTE When Indexing Service is turned on, capitalization doesn't matter, and Windows ignores short words like of, it, is, and so on. Note, too, that Indexing Service refuses to search folders that belong to other people with accounts on your PC (unless, of course, they marked those folders as Shared). Chapter 20 has full details. |