Windows Resource Hub

CMD & BAT Scripts

Command-line tutorials and useful commands.

Command Prompt fundamentals, repair commands such as SFC and DISM, and batch scripts that automate repetitive maintenance tasks.

CMD tutorials

New CMD tutorials are being published — check the full library in the meantime.

Search the BAT script library

Filter batch and PowerShell scripts, registry tweaks and toolkits by category, or search by the task you need to automate.

0 scripts

No scripts match that search yet.

Looking for something else?

Search the full tutorial library or browse the Download Center.