Chapter 12. Batch Files for Fun and Profit

ROAD MAP

  • Batch files let you automate repetitive tasks and create nifty command shortcuts.

  • The batch file language in Windows XP is greatly improved over the DOS/Win9x version.

  • Like scripts, batch files can serve as documentation of critical business procedures.

  • You should be familiar with the material in Chapter 11, “The CMD Command-Line Environment,” before starting this chapter.

Why Batch Files?

While Windows Script Host is a powerful scripting and programming environment, the old-fashioned batch file can still be a useful, powerful tool in the Windows XP environment. Why? Whereas Windows Script Host programs use objects as tools to perform Windows management and data-processing tasks, batch files use ...

Get Windows® XP Under the Hood now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.