Learn how to handle errors in batch files with ERRORLEVEL (exit codes): checking results, branching on errors, setting c
Learn how to treat special characters such as &, |, >, %, and ) as plain text in Command Prompt and batch files, using t
Learn how to check whether a file or folder exists with if exist in a batch file. Covers if not exist, telling folders f
Four ways to close Command Prompt (× button, right-click menu, exit command, Alt + F4), plus how to stop a running comma
Learn the difference between the batch file extensions .bat and .cmd: the one real behavioral difference (ERRORLEVEL), w
How to open Command Prompt on Windows 11 and 10: Start search, Win+R, Windows Tools, the folder address bar and Task Man
How to run Command Prompt as administrator. Quick reference for the Shift+Ctrl+Enter shortcut, Start menu, Win+X, Task M
Learn how to use the HELP command and the /? option in Command Prompt to look up command usage and options yourself. Cov
Learn how to move files to another folder with the move command in Command Prompt or a batch file. Covers the basics, wi
Learn how to assign a network drive in a batch file and keep both the connection and the login credentials after a resta