Windows XP Annoyances Free Open Book

Windows XP Annoyances

Previous PageNext Page

Appendix C. Command Prompt Crash Course

If you don't quite have a grasp on the concept of DOS or the Command Prompt, here's a quick primer on this useful but oft-forgotten interface.

The Command Prompt in Windows XP is based on MS-DOS (Microsoft Disk Operating System), the operating system used by the first PCs and the basis for many versions of Windows, including 9x/Me. As explained in Chapter 1, however, the Windows XP/2000/NT platform has been designed from the ground-up to be completely independent of DOS.

Fortunately, the DOS-like command prompt is still available from within Windows. If you don't have a Command Prompt item in your Start Menu, go to Start figs/U2192.gif Run, type cmd, and press Enter.

 

Windows XP also comes with the Command Prompt application found in Windows 9x/Me (command.com), but this should only be used if some DOS program won't work in the superior XP version (cmd.exe). Among other things, the XP Command Prompt has better support for long filenames and supports command prompt extensions, used by some of the commands listed here.

 

When you open a Command Prompt window, you'll see a window that looks like the one shown in Figure C-1. The cursor indicates the command line (where commands are typed), and the prompt usually shows the current working directory (here, C:\Documents and Settings\Administrator\Desktop), followed by a caret (>).

Figure C-1. The command prompt is used to complete some of the solutions in this book.

figs/xpan_ac01.gif

To run a program or execute a command, just type the name of the program or command at the command line (also called the "C" prompt because it usually looks like C:\>), and press Enter.

Some command prompt applications simply display information and then exit immediately. For example, Figure C-1 shows some output from the Active Connections utility (netstat.exe) discussed in Section 7.3.3.

Previous PageNext Page


     Main Menu
Cover
Copyright
Preface
Chapter 1. Making the Most of Windows XP
Chapter 2. Basic Explorer Coping Skills
Chapter 3. The Registry
Chapter 4. Tinkering Techniques
Chapter 5. Maximizing Performance
Chapter 6. Troubleshooting
Chapter 7. Networking and Internetworking
Chapter 8. User Accounts and Administration
Chapter 9. Scripting and Automation
Chapter 10. Installing Windows XP
Appendix A. Setting Locator
Appendix B. BIOS Settings
Appendix C. Command Prompt Crash Course
C.1 DOS Commands
C.2 Batch Files
C.3 Turn the Address Bar into a Command Prompt
Appendix D. TCP/IP Ports
Appendix E. Error Messages (Blue Screen of Death)
Colophon


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual
Free Games Paper Airplanes
500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele