Microsoft

Tech Tip: Use CMD more effectively/Search Microsoft's Knowledge Base

Windows 2000 Professional: Use CMD more effectively

Cmd.exe opens a command console in Windows 2000. You can use the console to manage files, execute various commands, run scripts, launch applications, and perform other management tasks. Many experienced users don't realize that there's more to opening a console session than just clicking Command Prompt in the Accessories menu.

Cmd.exe supports a number of command-line options that let you control the way the console opens and behaves. You can specify a command to execute automatically after the console opens, set the background and foreground colors for the session, and more. To learn what these switches are and how they work, open a console session and type HELP CMD at the command prompt.

Once you understand the switches and are ready to put them to use, you can execute the CMD command line manually from an already open console session and include the necessary switches. To execute specific commands that you use frequently, create a shortcut to Cmd.exe that includes the necessary switches. Double-click the shortcut whenever you need to execute that command.

Windows 2000 Server: Search Microsoft's Knowledge Base

You've probably used the Microsoft Knowledge Base, whether online or through a TechNet or MSDN subscription, to search for information about specific products or problems. And from this experience, you know that just putting in a phrase or a few keywords that identifies the issue can yield a result set that's too large to be useful. You can perform more effective searches by including special keywords that help refine the search.

Microsoft defines keywords for topics, such as troubleshooting or programming, and specific applications. For example, setup and installation issues have the keyword kbsetup. Application notes use the keyword kbappnote. Articles about error messages use the keyword kberrmsg. You'll find an extensive list of Windows 2000-specific Knowledge Base keywords on the Microsoft TechNet Web site.

Use these keywords in combination with advanced search techniques to locate articles specific to the issue at hand more quickly. For example, use the NEAR keyword to find articles with words that are near each other, such as "port NEAR firewall." You can also perform Boolean searches with AND, OR, or AND NOT keywords.

Editor's Picks