
Learn how to use the dir command with /a to display hidden and system files, and combine h with a to show only hidden files in batch scripts.
Learn how to list .txt files with the dir command, using an asterisk as a wildcard to end with .txt, then filter and verify results on the desktop.
Learn to use the pause-batch command to hold the console until a key is pressed, with an example printing hello there and the press any key to continue message.
Copy .txt files from the test folder to testp using a wildcard and explicit extension, then execute the script and verify four files were copied into testp.
Copy all contents from the test folder into the testb folder using the copy command; note that directories are not copied. Learn how xcopy overcomes this limitation to include directories.
Discover how to use the delbatch command to delete one or more files, specify a path, run the script, and verify that a.txt is removed—remember you can't retrieve it.
Learn to use the move batch command to move files across directories, rename directories, and relocate directories, with a practical example moving a.txt into the testb folder.
Discover how the double colon, or scope resolution operator, acts as a label and command; run a script to print hello there, and use a trailing caret to suppress output.
Redirects command output to a file or to a null device using the redirect corrector; see an echo example that writes hello there to file.txt on the desktop.
Use the append character to add command output to a file without overwriting existing data, and verify that new results are appended to file.txt.
Define a numeric variable in batch scripting using the /a switch, demonstrating how to store a 32-bit integer and print 20 to the console.
Learn how to debug batch scripts using the ErrorLevel environment variable, interpret 0, 1, 2 exit codes, and print there is error in your script with a check and pause.
Master decision making in batch scripting by using if conditions to test variables and execute code in the if block, demonstrated with a and b testing 12 and 10.
Master batch scripting basics by testing variables and case sensitivity. See how batch commands are not case sensitive, but variable content determines the output.
Demonstrates a batch scripting for loop by declaring a single-character variable, iterating over a list of values, printing them to the console, and observing iterations as the list shortens.
Learn to loop through folders with the for command using /d and wildcards, listing and processing folders like test one and test two.
Learn to access batch array elements by index using square brackets and the echo command, understand zero-based indexing, and retrieve values at positions zero and one.
Batch scripting is a simple and useful way to automate tasks on Windows using basic commands. A batch file is just a text file that contains a list of commands, and Windows runs them one after another. With batch scripting, you can save time by automating everyday tasks instead of doing them manually.
This course is designed especially for beginners who want to learn Batch scripting from scratch. No prior scripting or programming experience is required. Everything is explained in a clear and easy step-by-step manner, making it simple to follow and understand.
In this course, you will:
Learn what Batch scripting is and how it works
Understand basic commands used in Batch files
Learn how to create and run your own Batch scripts
Build confidence to continue learning more advanced scripting
The focus of this course is simplicity and practical learning. Each concept is taught in an easy way so that beginners can learn without confusion or fear of scripting.
Don’t wait for others to tell you which skills to learn.
Understand today’s needs, keep up with modern technology, and take your first step into automation.
I’m a professional instructor who has helped thousands of students learn Batch scripting. Join the course and enjoy learning this useful and beginner-friendly skill.