Windows Batch Scripting Fundamentals
Variable Declaration and Usage
Defining Variables
Variables are typically declared using the set command, and their values usually do not require quotation marks.
set name=John Doe
When quotes are used, the variable includes them. To remove these, use %~variable syntax. For example, set var="value" stores the quotes, so referencing i ...
Posted on Sun, 02 Aug 2026 16:54:49 +0000 by EvilWalrus
Batch File Transfer and Command Execution with Shell Scripts
When managing a small number of machines, handling them one by one might be acceptable. However, when dealing with dozens or hundreds of machines, repeating the same commands manually becomes tedious and error-prone. A more efficient approach is to write batch processing shell scripts. This article documents several batch processing scripts, in ...
Posted on Sat, 09 May 2026 18:57:36 +0000 by jimmy patel