The Book of Batch Scripting: From Fundamentals to Advanced Automation

McLarney, Jack

  • 出版商: No Starch Press
  • 出版日期: 2024-06-25
  • 售價: $2,180
  • 貴賓價: 9.5$2,071
  • 語言: 英文
  • 頁數: 488
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1718503423
  • ISBN-13: 9781718503427
  • 尚未上市,歡迎預購

商品描述

This fast-paced, hands-on, quirky introduction to Windows' Batch scripting language is ideal for coders of all skill levels.

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.

商品描述(中文翻譯)

這本節奏快、實踐性強、獨特的介紹Windows批次腳本語言的書籍,適合各種技能水平的程式設計師。Batch是一種非常有用的程式語言,隨附於每台Windows電腦中,可以幫助程式設計師和非程式設計師處理例行或重複性任務。除了輕鬆減少日常瑣事外,bat檔案還非常適合登錄腳本,可以自動化PC環境配置,無論你通常編寫什麼程式,都能讓生活變得更輕鬆。本書涵蓋了與bat檔案相關的所有內容,從基礎知識到高級概念,甚至包括面向對象的設計。幽默的插曲和例子,例如思考“如果阿基米德會Batch會怎樣”,以及對未來8位星艦企業號船長進行排序,使我們對Batch的內部運作有了更愉快的認識。主題分為三個部分,從簡單到複雜,使其成為一個方便的參考工具,無論你遇到什麼Batch任務、問題或問題:


  • 第一部分介紹了基礎知識,初學者和非高級用戶將學習如何編寫簡單到中等程度的bat檔案。

  • 第二部分討論如何完成工作,介紹了關鍵的for命令以及如何使用它為語言增加更多功能。

  • 第三部分涵蓋了專家級的高級主題,如遞歸和數組操作,以及測試和故障排除技巧,最後介紹了面向對象的設計。

無論你偏好的程式語言是什麼,任何使用Windows PC的人都可以從學習如何使用Batch編寫程式中受益,而這本書就是最終的使用者指南。

作者簡介

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.

作者簡介(中文翻譯)

Jack McLarney自1999年起在Protective Life Corporation、Fiserv和The Hartford Financial Services Group等公司從事專業編碼工作。McLarney兼任曼徹斯特社區學院的兼職數學教授,並擁有康涅狄格大學的應用數學碩士學位。