The Book of Batch Scripting
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > The Book of Batch Scripting: From Fundamentals to Advanced Automation
The Book of Batch Scripting: From Fundamentals to Advanced Automation

The Book of Batch Scripting: From Fundamentals to Advanced Automation


     0     
5
4
3
2
1



International Edition


X
About the Book

Packaged with every Windows computer, Batch is an immensely useful programming language ready to help coders and non-coders alike with routine or repetitive tasks. In addition to easily minimizing daily chores, bat files are great for logon scripts, can automate PC environment configurations, and generally make life easier regardless of what you usually code. This book covers all things bat-file-related, from the essentials through the advanced concepts, even object-oriented design. Humorous asides and examples - such as pondering the question 'what if Archimedes had Batch,' and sorting the first 8 future captains of the starship Enterprise - make the journey into Batch's inner workings a truly enjoyable one. Topics are organized into three parts of increasing complexity, making it a handy reference tool for whatever Batch task, question, or problem you encounter: Part I provides the basics, where beginners and non-power-users will learn how to write simple to moderate bat files; Part II discusses how to get things done, introducing the crucial for command and how to use it to add even more functionality to the language; Part III covers sophisticated topics at the expert level, like working with recursion and arrays, as well as testing and troubleshooting tips, culminating with object-oriented design. Regardless of your preferred programming language, anyone with a Windows PC will benefit from learning how to code with Batch - and this is the ultimate user guide.

Table of Contents:
Introduction Part I: The Essentials Chapter 1: Batch Chapter 2: Variables and Values Chapter 3: Scope and Delayed Expansion Chapter 4: Conditional Execution Chapter 5: String and Boolean Data Types Chapter 6: Integer and Float Data Types Chapter 7: Working with Files Chapter 8: Executing Compiled Programs Chapter 9: Labels and Nonsequential Execution Chapter 10: Calling Routines and Bats Chapter 11: Parameters and Arguments Chapter 12: Outputs, Redirection, and Piping Chapter 13: Working with Directories Chapter 14: Escaping Chapter 15: Interactive Batch Chapter 16: Code Blocks Part II: The for Command Chapter 17: Fundamentals of the for Command Chapter 18: Directories, Recursion, and Iterative Loops Chapter 19: Reading Files and Other Inputs Chapter 20: Advanced for Techniques Part III: Advanced Topics Chapter 21: Pseudo-Environment Variables Chapter 22: Writing Reports Chapter 23: Recursion Chapter 24: Text String Searches Chapter 25: Bat Files Building Bat Files Chapter 26: Automatic Restarts and Multithreading Chapter 27: And/Or Operators Chapter 28: Compact Conditional Execution Chapter 29: Arrays and Hash Tables Chapter 30: Odds and Ends Chapter 31: Troubleshooting Tips and Testing Techniques Chapter 32: Object-Oriented Design Chapter 33: Stacks, Queues, and Real-World Objects Afterword Appendix A: Fully Functional Batch Improv Appendix B: Array and Hash Table Objects

About the Author :
Jack McLarney has been coding professionally since 1999 at companies like Protective Life Corporation, Fiserv, and The Hartford Financial Services Group. McLarney teaches part-time at Manchester Community College as an Adjunct Professor of Mathematics and holds an MS in Applied Mathematics from the University of Connecticut.

Review :
"If you have to work with Windows, you have to read this book." —Niel Infante, Senior Engineer, Ginkgo Bioworks "Having worked professionally in IT since prior to the internet having pictures, I thought I knew bat files. Within the first 30 minutes, I learned things that Batch could do that I never had a clue about. It was a dazzling, factual read mixed with full syntax detail and humor along the way. Highly recommended for anyone as a fun trip down memory lane or an excellent reference in those times of need!" —Dave Mullen, Senior IT Manager, Windows Administrator, and Cybersecurity Engineer "Playfully written and technically robust, Jack’s book is fantastic. It is a painless introduction to bat files for beginners and an invaluable reference for experts. Careful scaffolding in the early chapters eases learner anxiety and cognitive overload while providing an immediate payout of practical applications and a robust basis to move forward. Later chapters provide structure for advanced topics, templates to build on, and a thorough examination of bat files, providing amazing functionality and flexibility I did not know was possible." —Dr. Nicole Engelke, Professor and Director of Quantitative Reasoning, University of Nebraska at Omaha


Best Sellers


Product Details
  • ISBN-13: 9781718503427
  • Publisher: No Starch Press,US
  • Publisher Imprint: No Starch Press,US
  • Height: 234 mm
  • No of Pages: 488
  • Sub Title: From Fundamentals to Advanced Automation
  • ISBN-10: 1718503423
  • Publisher Date: 25 Jun 2024
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Width: 177 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
The Book of Batch Scripting: From Fundamentals to Advanced Automation
No Starch Press,US -
The Book of Batch Scripting: From Fundamentals to Advanced Automation
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

The Book of Batch Scripting: From Fundamentals to Advanced Automation

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!