11. Batch Files for Fun and Profit
In This Chapter
• Batch files let you automate repetitive tasks and create nifty command shortcuts.
• The batch file language in current versions of Windows 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 10, “The CMD Command-Line” before starting this chapter.
Why Batch Files?
Although Windows Script Host (WSH) is a powerful scripting and programming environment, the old-fashioned batch file can still be a useful, powerful tool in the Windows environment. Why? Whereas WSH programs use objects as tools to perform Windows management and data-processing tasks, batch ...
Get Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools 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.