The Book of Batch Scripting: From Fundamentals to Advanced Automation
- Length: 488 pages
- Edition: 1
- Language: English
- Publisher: No Starch Press
- Publication Date: 2024-06-25
- ISBN-10: 1718503423
- ISBN-13: 9781718503427
- Sales Rank: #2247472 (See Top 100 Books)
This fast-paced, hands-on, quirky introduction to Windows’ Batch scripting language is ideal for coders of all skill levels.
In this era of advanced programming languages, the simplicity, universality, and efficiency of Batch scripting holds undeniable value.
Whether you’re maintaining legacy systems or seeking to understand the foundations of command line automation, The Book of Batch Scripting shows you how to become proficient with this tool included in every version of Windows.
As you work through the book, you will:
- Write a simple .bat file that performs a daily task with just a couple of mouse clicks
- Delve into variables and data types, and learn how a variable can possess two values at once—and why you should care
- Learn how to manage and collect data on files and directories either locally or on a network
- Harness the power of the for command to build complex loops with just a few lines of code
- Explore advanced topics like recursion, performing text searches, and even learn how to write a .bat file that writes a .bat file
- Extend Batch to use features like booleans, floats, operators, arrays, hash tables, stacks, queues, and even object-oriented design
Written for beginners and experts alike, The Book of Batch Scripting will have you streamlining your workflow and writing effective code in no time. This simple but powerful tool is about to make your life a little bit easier and more fun.
Requires: Microsoft Windows