10. The CMD Command-Line

In This Chapter

• This chapter introduces the command-line environment.

• Command-line programs can be powerful and useful. Honest.

• The CMD shell has many improvements over COMMAND.COM.

• The built-in commands provided by CMD perform many file and management functions.

The Command Prompt

I spent the first nine chapters of this book extolling the virtues of Windows Script Host (WSH) programming and proclaiming it to be the right tool for all Windows automation tasks. Now it’s time to confess that “all” might not be the right word, and in the remainder of the book, I show you why.

Although most of the fanfare over programming advances in the last decade have been over windowed applications with pull-down menus, ...

Get Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.