The Book of Batch Scripting: From Fundamentals to Advanced Automation

McLarney, Jack

  • 出版商: No Starch Press
  • 出版日期: 2024-06-25
  • 定價: $2,160
  • 售價: 9.5$2,052
  • 貴賓價: 9.0$1,944
  • 語言: 英文
  • 頁數: 488
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1718503423
  • ISBN-13: 9781718503427
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

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

商品描述(中文翻譯)

這本節奏快、實踐性強、獨特的《Windows批次腳本語言入門》適合各種技能水平的程式設計師。

在這個高級程式語言時代,批次腳本的簡單性、通用性和效率具有不可否認的價值。

無論您是維護舊系統還是想了解命令行自動化的基礎,《批次腳本之書》將向您展示如何熟練使用這個包含在每個Windows版本中的工具。

在閱讀本書的過程中,您將會:
- 編寫一個簡單的.bat文件,只需點擊幾下鼠標即可執行日常任務
- 深入研究變量和數據類型,了解變量如何同時擁有兩個值,以及為什麼您應該關注這一點
- 學習如何在本地或網絡上管理和收集文件和目錄的數據
- 利用for命令的強大功能,僅需幾行代碼就能構建複雜的循環
- 探索遞歸、執行文本搜索甚至學習如何編寫一個.bat文件來生成另一個.bat文件等高級主題
- 擴展批次腳本以使用布爾值、浮點數、運算符、數組、哈希表、堆棧、隊列甚至面向對象的設計等功能

《批次腳本之書》適合初學者和專家,將幫助您優化工作流程,快速撰寫有效的代碼。這個簡單但強大的工具將讓您的生活變得更輕鬆、更有趣。

需求:Microsoft Windows

作者簡介

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兼任曼徹斯特社區學院的兼職數學教授,並擁有康涅狄格大學的應用數學碩士學位。