Practice questions: Basics and batch file syntax
Pick an answer and press "Check answer" to see right away whether you got it. If you are unsure, open "Read the article" to review the command and then try again. Questions you answer correctly are remembered in this browser.
47 questions Solved 0 / 47
Calculation (Arithmetic)
Read the article →
✓ Solved
✓ Solved
Chaining Commands
Read the article →
✓ Solved
✓ Solved
✓ Solved
Character Encoding and Garbled Text
Read the article →
✓ Solved
Checking File Existence
Read the article →
✓ Solved
✓ Solved
Create a New Folder
Read the article →
✓ Solved
Create Empty File
Read the article →
✓ Solved
Creating Variables
Read the article →
✓ Solved
Delayed Expansion
Read the article →
✓ Solved
Delete Files and Folders
Read the article →
✓ Solved
✓ Solved
ERRORLEVEL
Read the article →
✓ Solved
Escaping Special Characters
Read the article →
✓ Solved
✓ Solved
✓ Solved
Getting Date and Time
Read the article →
✓ Solved
Help (HELP and /?)
Read the article →
✓ Solved
✓ Solved
✓ Solved
How to Create a Batch File
Read the article →
✓ Solved
✓ Solved
✓ Solved
Launching Command Prompt
Read the article →
✓ Solved
Move to a Different Directory
Read the article →
✓ Solved
Passing Arguments to Batch Files
Read the article →
✓ Solved
✓ Solved
Persistent Environment Variables and PATH
Read the article →
✓ Solved
Pipes and Filters
Read the article →
✓ Solved
Reading User Input
Read the article →
✓ Solved
✓ Solved
Redirection
Read the article →
✓ Solved
✓ Solved
✓ Solved
Renaming Files
Read the article →
✓ Solved
Run PowerShell from Command Prompt
Read the article →
✓ Solved
✓ Solved
Searching for Files
Read the article →
✓ Solved
✓ Solved
String Operations
Read the article →
✓ Solved
Subroutines and Return Values
Read the article →
✓ Solved
Tips and Tricks
Read the article →
✓ Solved
UAC Auto-Elevation
Read the article →
✓ Solved
Wildcards
Read the article →
✓ Solved
✓ Solved