Get Started with the Command Prompt
It's no stretch to say that any management tasks you can do from the GUI interface can also be performed at the command prompt. For example, in Chapter 4, "Disk and File System Management," I showed you how to partition a drive with the Disk Management utility, but I also could have shown you how by using the diskpart command-line tool.Moreover, some information provided at the command line can't be procured in any other way. And, unlike most GUI management tools, you can open up multiple Command Prompt sessions in Windows XP, launching each one in its own memory space.Why might this be a good idea? Because it lets you perform several command tasks simultaneously without fear of a single command-line failure affecting tasks running in other sessions. You can't take advantage of the command environment, though, unless you first know how to open it. You can get started in several ways:
- Choose Start | All Programs | Accessories | Command Prompt.
- Choose Start | Run to open the Run dialog box, type cmd in the Open box, and then press Enter.
- Double-click the cmd icon in your \System32 folder.
- Double-click any shortcut you create for the cmd.exe utility.
You could also type command.com at the Run menu to get a command environment, but it won't be the XP Command Prompt. Read on for more details.Any way you choose, you'll get a command prompt like the one seen in Figure 6-1, complete with an impatiently blinking cursor.
Figure 6-1. A new Command Prompt window.
[View full size image]
