Batch
Everything on SkillVeris tagged Batch — collected across the glossary, study notes, blog, and cheat sheets.
31 resources across 1 library
Study Notes(31)
Batch File Redirection and Pipes
Understand stdin, stdout, and stderr redirection, piping commands together, and silencing output with NUL in Batch scripts.
Batch Script Arguments
Learn how Windows Batch scripts read command-line arguments using positional parameters, SHIFT, and path modifiers like %~dp0.
Batch Script Best Practices
Conventions that keep Windows batch files readable, safe, and maintainable — from quoting discipline to structured error handling.
Batch Script Functions with CALL
Learn how to simulate reusable functions in Windows Batch using labeled subroutines invoked with CALL, including parameter passing and local variable scope.
Batch Script Interview Questions
A study guide covering the Windows batch scripting concepts most commonly probed in technical interviews, from variable scoping to error codes.
Batch Script Quick Reference
A condensed lookup of essential Windows batch syntax — variables, control flow, string operations, and exit codes — for day-to-day scripting.
Batch Script Security Considerations
Understand the common security vulnerabilities in Windows batch scripts, hardening techniques, and how tools like AppLocker help control what scripts can run.
Batch Script Syntax Basics
The core syntax rules of batch scripting: variables, delayed expansion, conditionals, and loops.
Batch Scripts for System Administration
Explore how Windows system administrators use batch scripts to manage users, services, disks, and logs, with practical patterns for error handling and unattend…
Batch vs PowerShell
Compare Windows batch scripting and PowerShell across syntax, data handling, performance, and tooling to understand when each is the right choice.
Calling PowerShell from Batch
Learn how to invoke PowerShell commands and scripts from a batch file, pass parameters, capture output, and manage execution policy and security implications.
The Choice Command
Use the built-in choice command to build single-keypress menus, timed prompts, and errorlevel-driven branching in Windows batch scripts.
Comments in Batch Files
How to write and use comments in batch files, and why documentation matters for long-lived scripts.
Common Batch Script Patterns
A catalog of reusable Windows batch scripting idioms — looping over files, parsing command output, handling arguments, and structuring error paths.
Copy, Move, and Delete Commands
Master COPY, XCOPY, MOVE, REN, and DEL to duplicate, relocate, and remove files and folders safely in Batch scripts.
Creating and Running .bat Files
A practical guide to creating .bat files and running them correctly, including passing arguments.
Debugging Batch Scripts
Practical techniques for tracing execution, inspecting variable state, and isolating failures in Windows batch files.
Echo and Output
How ECHO and output redirection let you control exactly what a batch script prints to the console.
Environment Variables in Batch
Understand how Windows Batch scripts create, read, scope, and persist environment variables, including the tricky topic of delayed expansion.
Error Handling in Batch
Learn how Windows Batch scripts detect and respond to failures using ERRORLEVEL, exit codes, and a centralized GOTO :error pattern.
File and Folder Operations
Learn how to navigate, create, and remove directories and inspect file attributes using core Windows Batch commands.
For Loops in Batch
Learn the many forms of the batch for command: iterating lists, ranges, files, directories, and command output with %%variables.
Goto and Labels
Understand how batch scripts use labels and the goto command to jump execution, build subroutines with call, and structure menu-driven scripts.
If/Else in Batch
Master conditional logic in Windows batch files: comparing strings and numbers, testing file existence, checking errorlevel, and chaining else branches.
Showing 24 of 31.