How to use Batch File Builder
- Find a block. Each one says what it does in plain English and shows the line of code it adds. Search works too, like "delete", "ping" or "wait". They're along the bottom of the tool; on a phone, tap Blocks to open them.
- Drag it into your script, or tap it to add it. Tap a block in your script first and new blocks go right after it. Tap the "then" or "do this" strip of an if or loop block and they go inside it.
- Fill in the boxes. The code under each block and the whole file update as you type, and each block's name sits above its lines in the code so you can see which part does what.
- Press Download .bat, then double-click the file to run it. Your blocks stay saved in this browser, so you can come back and change them.
Move blocks by dragging their ⠿ handle, or tap a block and use its arrows. Dragging a block back onto the list deletes it. Ctrl+Z undoes and Ctrl+Y redoes. With a block highlighted, Delete removes it, Ctrl+D copies it, Alt+↑ and Alt+↓ move it, and Esc lets go. The ▾ on an if, loop or other block that holds blocks folds it to one line, so long scripts are easier to get around; the code doesn't change. If a block would break the script, like a label inside a loop or a variable that won't update inside an if, it shows a warning that says how to fix it.
Click into a box and a list of variables pops up under it: the ones your script sets, the loop's own variable when you're inside a loop, and handy Windows ones like %USERPROFILE% and %DATE%. Tap one to drop it in where the cursor is, so there's no typo to hunt down later.
Want to skip a block for now without losing it? The ⊘ button turns it off. It stays in your script, greyed out, and its code becomes a rem line that doesn't run. Press it again to turn it back on.
Blocks that delete or wipe things, like deleting a folder with everything in it, mirroring a folder, deleting registry settings or shutting down, get a red edge. Tick ask Y/N first on one and the script stops to ask before it runs that step.
Need web pages, spreadsheets or images? Those are easier in Python, and the Python Script Builder works the same way, pip packages included.
Already have a .bat file? Paste a .bat turns its simple lines into blocks and keeps everything else exactly as it was in "Any command" blocks.
Every block and what it does
All 148 ready-made blocks, with the code each one makes using its starting values. Open a group to see them.
Basics 16
| Block | Code | What it does |
|---|---|---|
| Hide the commands | @echo off | Stops cmd printing every command before it runs it, so only your own messages show. Almost every script starts with this. |
| Show a message | echo Hello! | Prints a line of text in the window. Special characters like & | < > are escaped for you, and %VARIABLES% still get filled in. |
| Empty line | echo. | Prints an empty line, handy for spacing out messages. |
| Note to yourself | rem What this part does | A comment. cmd skips it completely, it is just there to explain the script to whoever reads it. |
| Window title | title My script | Sets the text in the title bar of the script window. |
| Wait for a key | pause | Waits until a key is pressed. Without it, a script that was double-clicked closes the moment it ends, before you can read anything. |
| Clear the window | cls | Wipes everything printed so far. |
| Window colors | color 0A | Changes the text and background color of the whole window. |
| Wait some seconds | timeout /t 5 >nul | Pauses for a number of seconds. -1 waits until a key is pressed. Tick "no skipping" so a key press can't cut it short. |
| Stop the script | exit /b 0 | Ends the script. The code tells whatever started it how it went: 0 means fine, anything else means something failed. "Close the window too" also closes the cmd window. |
| Use UTF-8 text | chcp 65001 >nul | Switches the window to UTF-8 so accented letters, emoji and other languages show properly. |
| Keep variables local | setlocal | Variables you set after this disappear when the script ends instead of leaking into the window. "Delayed expansion" lets you use !VAR! to read a variable that changes inside a loop or if block. |
| End local variables | endlocal | Ends a setlocal early, throwing away the variables set since then. |
| Window size | mode con: cols=100 lines=30 | Resizes the script window, counted in characters and lines. |
| Popup message box | powershell -NoProfile -Command "Add-Type -AssemblyName PresentationFramework; [System.Windows.MessageBox]::Show('Time to take a break', 'Reminder') | Out-Null" | Shows a normal Windows message box with an OK button, using PowerShell. |
| Beep | powershell -NoProfile -Command "[console]::beep(880,300)" | Plays a short beep. |
Variables & input 13
| Block | Code | What it does |
|---|---|---|
| Set a variable | set "FOLDER=%USERPROFILE%\Documents" | Saves some text under a name. Use it later as %name%. The quotes around the whole thing keep stray spaces out. |
| Do math | set /a "COUNT=COUNT+1" | Works out a sum with whole numbers: + - * / and % (remainder, written %% in a script). Variables can be used without % signs, like count+1. |
| Ask the user to type something | set /p "ANSWER=Your name: " | Shows a question and waits for the person to type an answer and press Enter. The answer goes in the variable. |
| Ask a multiple choice question | choice /c YN /m "Continue" | Waits for one key press from a list. Set the seconds to 0 to wait forever. The answer comes back as a number: the first key is 1, the second 2 and so on. Check it with an "If the last command's result" block. |
| Ask yes or no | choice /m "Delete these files" | A ready-made yes/no question: if they press N the script stops. |
| Use the file dropped on the script | set "FILE=%~1" | When files are dragged onto a .bat (or it is run with extra words after it) they arrive as %1, %2… This copies one into a variable with its quotes removed. |
| Next dropped item | shift | Moves %2 into %1, %3 into %2 and so on, to go through many dropped files one at a time. |
| Today's date into a variable | for /f "delims=" %%I in ('powershell -NoProfile -Command "Get-Date -Format yyyy-MM-dd"') do set "STAMP=%%I" | Puts the current date and time in a variable in a fixed format, so it works the same on every PC whatever its language. Great for file and folder names. |
| First line of a file into a variable | set /p "LINE=" < "settings.txt" | Reads the first line of a text file into a variable. |
| Command output into a variable | for /f "delims=" %%I in ('hostname') do set "HOST=%%I" | Runs a command and saves what it prints (the last line if there are several). Write | as ^| inside the command. |
| Save a variable for good | setx MY_TOOL_HOME "C:\Tools" | Saves a variable into Windows so new windows and programs see it too (not the window that ran it). Tick "for every user" to set it machine-wide, which needs Run as administrator. |
| Delete a variable | set "ANSWER=" | Empties a variable so "if defined" sees it as not set. |
| Random number | set /a "ROLL=%RANDOM% %% 6 + 1" | Picks a random whole number from 1 up to the number you give. |
If & jump 15
| Block | Code | What it does |
|---|---|---|
| If a file or folder exists | if exist "%USERPROFILE%\Desktop\notes.txt" ( | Runs the blocks inside only if the path is there (or isn't). End a folder path with \ to check it is a folder and not a file. |
| If two things match | if /i "%ANSWER%"=="yes" ( | Compares two pieces of text or two numbers, usually a variable with something. "is" compares text; the others compare numbers. |
| If the last command's result | if errorlevel 1 ( | Every command finishes with a number: 0 usually means it worked and anything else that it failed. After a choice block it is the number of the key pressed. "At least" and "less than" work anywhere; "exactly" and "not" don't update inside a loop or if block. |
| If a variable is set | if defined FILE ( | Checks whether a variable has anything in it, for example whether a file was dropped on the script. |
| If a program is running | tasklist /fi "imagename eq notepad.exe" | find /i "notepad.exe" >nul | Checks the running programs for one by its .exe name. |
| If running as administrator | net session >nul 2>&1 | Checks whether the script was started with "Run as administrator". |
| Needs administrator | net session >nul 2>&1 | Stops with a message if the script wasn't started with right-click › Run as administrator. Put it near the top of scripts that change system settings. |
| Ask for administrator | net session >nul 2>&1 | If the script isn't running as administrator it asks Windows to run it again as admin (the usual yes/no prompt) and closes the non-admin copy. |
| Label (a spot to jump to) | :start | Marks a spot in the script that "Jump to" and "Run a section" blocks can go to. |
| Jump to a label | goto start | Carries on running from the label with that name. Jumping back up to an earlier label makes a loop. |
| Jump to the end | goto :eof | Jumps to the end of the script, or back from a section started with "Run a section". |
| Run a section | call :show | Runs the part of the script under a label, then comes back here when it reaches "Jump to the end". Words after it arrive in the section as %1, %2… |
| Repeat forever | :loop_b1 | Runs the blocks inside again and again until the window is closed. The wait stops it hogging the CPU. |
| If the last command failed | if errorlevel 1 (echo Something went wrong.& pause & exit /b 1) | A quick check after a command: if it failed, show a message and end the script. |
| Group | ( | Keeps blocks together in brackets, which lets you send the output of all of them to one file (use the output option). |
Loops 8
| Block | Code | What it does |
|---|---|---|
| For each file | for %%F in (*.txt) do ( | Runs the blocks inside once per matching file. Inside, %%F is the file name; %%~nF is the name without extension, %%~xF the extension, %%~fF the full path, %%~zF the size. |
| For each file in all subfolders | for /r "%USERPROFILE%\Pictures" %%F in (*.jpg) do ( | Like "For each file" but also looks inside every subfolder. |
| For each folder | for /d %%D in (*) do ( | Runs once per folder that matches, like every folder in the current one (*). |
| Count | for /l %%N in (1,1,10) do ( | Repeats with a number going up (or down with a negative step). Repeat 10 times = from 1 to 10 by 1. |
| For each word in a list | for %%X in (google.com github.com) do ( | Runs once for every item in a list separated by spaces, like a list of site names or file types. |
| For each line of a file | for /f "usebackq delims=" %%L in ("list.txt") do ( | Reads a text file and runs once per line (blank lines are skipped). |
| For each line a command prints | for /f "delims=" %%L in ('dir /b') do ( | Runs a command and goes through what it prints, one line at a time. Write | as ^| inside. |
| Split lines into parts | for /f "tokens=2 delims=:" %%A in ('ipconfig ^| findstr IPv4') do ( | Goes through lines (of a command's output in single quotes, or a "file" in quotes) and cuts each one at the characters you choose. tokens=2 takes the second part; tokens=1,2 gives %%A and %%B. |
Files & folders 35
| Block | Code | What it does |
|---|---|---|
| Go to a folder | cd /d "%USERPROFILE%\Downloads" | Makes a folder the current one, so later commands work there. /d also switches drive. |
| Go to the script's folder | cd /d "%~dp0" | Makes the folder the .bat file is saved in the current one. Useful because "Run as administrator" starts scripts in C:\Windows\System32. |
| Go to a folder (remember the old one) | pushd "\\NAS\Share" | Like cd, but remembers where you were so "Go back" can return. Also works with network paths like \\server\share. |
| Go back | popd | Returns to the folder you were in before the last pushd. |
| Make a folder | if not exist "%USERPROFILE%\Desktop\New folder\" md "%USERPROFILE%\Desktop\New folder" | Creates a folder, plus any missing folders above it. Skips it quietly if it already exists. |
| Delete a folder | rd /s /q "%TEMP%\old-stuff" | Deletes a folder and everything in it, without asking and without the Recycle Bin. Double-check the path! |
| Delete files | del /q /f "%TEMP%\*.tmp" | Deletes files (wildcards like *.tmp work). They skip the Recycle Bin. |
| Empty a folder | del /q /f /s "%TEMP%\*" >nul 2>&1 | Deletes everything inside a folder but keeps the folder itself. Files in use are skipped. |
| Copy files | copy /y "report.txt" "%USERPROFILE%\Desktop\" | Copies one file, or many with a wildcard, into a folder or to a new name. |
| Copy a whole folder | robocopy "%USERPROFILE%\Documents" "D:\Backup\Documents" /e /r:1 /w:1 /np /nfl /ndl | Copies a folder with everything in it, skipping files that are already up to date, which makes it the best way to back up. Mirror also deletes files from the copy that are gone from the original. |
| Copy folders (xcopy) | xcopy "C:\Source" "D:\Target\" /e /i /y | The older way to copy folders. robocopy is usually better, but xcopy is fine for quick copies. |
| Move files | move /y "*.jpg" "Pictures\" | Moves files or a folder somewhere else. |
| Rename | ren "old.txt" "new.txt" | Renames a file or folder. The new name is only a name, not a path. Wildcards work: *.jpeg to *.jpg. |
| Write a line to a file | echo Backup finished %DATE% %TIME%>>"log.txt" | "Write" starts the file fresh, "Add" puts the line at the end. Leave the text empty to add a blank line. |
| Show a file | type "notes.txt" | Prints the contents of a text file in the window. |
| List files | dir "." /b | Lists the files in a folder. Bare gives just the names, which is easier to save to a file. |
| Folder tree | tree "." /a | Draws the folders inside a folder as a tree. |
| Hide, show or lock a file | attrib +h "secret.txt" | Changes a file's attributes: hidden files don't show in Explorer by default, read-only files can't be changed. |
| Make a link | mklink /j "C:\Games\Saves" "D:\Saves" | Makes a shortcut-like link that programs treat as the real thing. A junction links folders and doesn't need admin; symbolic links usually do. |
| Zip a folder | tar -a -c -f "Project.zip" "Project" | Packs a folder into a .zip using tar, which comes with Windows 10 and 11. |
| Unzip | if not exist "Unzipped\" md "Unzipped" | Unpacks a .zip into a folder (the folder must exist). |
| Delete files older than… | forfiles /p "%USERPROFILE%\Downloads" /s /m *.* /d -30 /c "cmd /c if @isdir==FALSE del /q @path" 2>nul | Deletes files that haven't changed in a number of days, including in subfolders. Great for clearing out old logs or downloads. |
| Search text in files | findstr /i /c:"error" "*.log" | Finds lines that contain some text. Prints each matching line, or just the file names. |
| Compare two files | fc "old.txt" "new.txt" | Shows the differences between two files. The result is 0 when they match. |
| Sort lines | sort "names.txt" /o "sorted.txt" | Sorts the lines of a text file A to Z. |
| File checksum | certutil -hashfile "download.iso" SHA256 | Works out a file's hash to check a download wasn't corrupted or changed. |
| Copy to the clipboard | echo|set /p="%CD%"| clip | Puts some text on the clipboard so it can be pasted anywhere. |
| Copy a file's text to the clipboard | clip < "notes.txt" | Puts the whole text of a file on the clipboard. |
| Make a file of a set size | fsutil file createnew "test.bin" 104857600 | Creates an empty file of an exact size, for testing transfers or disk space. |
| Give permission | icacls "C:\Shared" /grant "Users:(OI)(CI)M" /t | Lets a user or group use a file or folder. (OI)(CI) makes it apply to everything inside a folder too. |
| Take ownership | takeown /f "C:\OldFolder" /r /d y | Makes you the owner of a file or folder you're locked out of. Needs Run as administrator. |
| Folder as a drive letter | subst X: "C:\Projects" | Makes a folder appear as its own drive letter until you restart. |
| Find where a program is | where python | Searches the PATH for a program and prints where it lives. The result is 1 if it isn't found, so it also checks whether something is installed. |
| Open a folder in Explorer | start "" explorer "%USERPROFILE%\Downloads" | Opens a File Explorer window on a folder. |
| Empty the Recycle Bin | powershell -NoProfile -Command "Clear-RecycleBin -Force -ErrorAction SilentlyContinue" | Empties the Recycle Bin on every drive. |
Programs & services 16
| Block | Code | What it does |
|---|---|---|
| Open a program or file | start "" "notepad.exe" | Starts a program, opens a file with its usual app, or opens a website. "Wait" holds the script until it closes. |
| Open a website | start "" "https://localscriptbox.com" | Opens a web page in the default browser. |
| Close a program | taskkill /f /im "notepad.exe" | Closes every copy of a program by its .exe name. "Force" closes it even if it is frozen or asking to save. |
| List running programs | tasklist | Shows the running programs, optionally only ones whose name matches. |
| Wait until a program closes | :wait_b1 | Checks every few seconds and carries on once the program is no longer running. |
| Run another .bat | call "other-script.bat" | Runs another batch file and comes back here when it finishes (without call, the other script would take over and never return). |
| Run a PowerShell command | powershell -NoProfile -ExecutionPolicy Bypass -Command "Get-Date" | Runs one line of PowerShell, for things batch can't do on its own. Use single quotes inside it. |
| Install or update apps | winget install --id Mozilla.Firefox -e --accept-package-agreements --accept-source-agreements --silent | Uses winget, the app installer built into Windows 10 and 11, to install, update or remove apps by their ID (like Mozilla.Firefox). |
| Update every app | winget upgrade --all --accept-package-agreements --accept-source-agreements | Updates every app that winget knows a newer version of. |
| Run an installer quietly | msiexec /i "setup.msi" /qn /norestart | Installs a .msi package with no windows or questions. |
| Start or stop a service | net stop "Spooler" | Starts or stops a Windows service (like Spooler, the printer queue). Needs Run as administrator. |
| Service start type | sc config "SysMain" start= demand | Changes whether a service starts with Windows. Needs Run as administrator. |
| Schedule a task | schtasks /create /tn "My backup" /tr "\"%USERPROFILE%\Desktop\backup.bat\"" /sc DAILY /st 21:00 /f | Adds a task to Task Scheduler so a program or script runs by itself. |
| Delete a scheduled task | schtasks /delete /tn "My backup" /f | Removes a task from Task Scheduler. |
| Restart Explorer | taskkill /f /im explorer.exe >nul | Restarts the taskbar and desktop, which fixes a frozen taskbar or applies some settings. |
| Run a Linux command (WSL) | wsl ls -la | Runs a command inside WSL, if a Linux distro is installed. |
System & power 25
| Block | Code | What it does |
|---|---|---|
| Shut down or restart | shutdown /s /t 60 | Shuts down or restarts the PC after a delay. Programs are closed, so unsaved work is lost. Cancel with the "Cancel a shutdown" block or shutdown /a. |
| Cancel a shutdown | shutdown /a | Cancels a shutdown or restart that is counting down. |
| Sleep, hibernate, lock or sign out | rundll32.exe user32.dll,LockWorkStation | Puts the PC to sleep, hibernates it, locks the screen or signs out. |
| Turn the screen off | powershell -NoProfile -Command "(Add-Type -MemberDefinition '[DllImport(\"user32.dll\")] public static extern int SendMessage(int h,int m,int w,int l);' -Name W -PassThru)::SendMessage(-1,0x0112,0xF170,2)" >nul | Turns the monitor off (moving the mouse turns it back on). |
| Power plan | powercfg /setactive SCHEME_MIN | Switches the Windows power plan. |
| Hibernation on or off | powercfg /hibernate off | Turns hibernation on or off. Off frees disk space the size of your RAM. Needs Run as administrator. |
| Never sleep (plugged in) | powercfg /change standby-timeout-ac 0 | Sets how long the PC waits before sleeping when plugged in. 0 means never. |
| Battery report | powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html" | Saves a laptop battery health report as a web page. |
| System information | systeminfo | Prints Windows version, install date, uptime, RAM, updates and more. |
| Who am I | hostname | Prints the PC's name or the signed-in user. |
| Repair system files | sfc /scannow | Checks Windows' own files and replaces broken ones. Takes a while. Needs Run as administrator. |
| Repair the Windows image | DISM /Online /Cleanup-Image /RestoreHealth | Downloads fresh copies of damaged Windows files from Windows Update. Run it before sfc when sfc can't fix things. Needs Run as administrator. |
| Check a disk | chkdsk C: | Scans a drive for file system errors. Fixing the C: drive happens at the next restart. Needs Run as administrator. |
| Optimize a drive | defrag C: /O | Runs Windows' drive optimizer: TRIM for SSDs, defragmenting for hard drives. Needs Run as administrator. |
| Change a registry setting | reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d "0" /f | Adds or changes a value in the registry. HKCU settings are for you; HKLM is for the whole PC and needs Run as administrator. |
| Read a registry setting | reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" | Prints a value from the registry. |
| Delete a registry setting | reg delete "HKCU\Software\MyApp" /v "OldSetting" /f | Removes a value from the registry. Leave the name empty to delete the whole key. Careful! |
| Back up a registry key | reg export "HKCU\Software\MyApp" "%USERPROFILE%\Desktop\backup.reg" /y | Saves a registry key to a .reg file you can double-click later to restore it. |
| Create a restore point | powershell -NoProfile -Command "Checkpoint-Computer -Description 'Before changes' -RestorePointType MODIFY_SETTINGS" | Makes a System Restore point so you can undo changes. Needs Run as administrator and System Protection turned on. |
| Sync the clock | net start w32time >nul 2>&1 | Makes Windows check its clock with the internet time server right now. Needs Run as administrator. |
| Apply group policy | gpupdate /force | Applies group policy changes right away instead of waiting. |
| Back up drivers | if not exist "D:\DriverBackup\" md "D:\DriverBackup" | Copies every installed third-party driver into a folder. Needs Run as administrator. |
| Disk Cleanup | cleanmgr | Opens Windows Disk Cleanup. |
| Time zone | tzutil /s "Eastern Standard Time" | Changes the time zone. Run tzutil /l to list the names. |
| Recent errors | wevtutil qe System /q:"*[System[(Level=2)]]" /c:10 /rd:true /f:text | Shows the newest error messages from the System event log. |
Network 18
| Block | Code | What it does |
|---|---|---|
| Ping | ping -n 4 1.1.1.1 | Checks whether a site or device answers and how fast. The result is 1 when nothing answered. |
| If online | ping -n 1 -w 2000 1.1.1.1 | find "TTL=" >nul | Pings a reliable server once and runs the right blocks depending on whether it answered. |
| Trace the route | tracert -d google.com | Shows every hop between you and a server, to find where a connection slows down. |
| Look up a domain | nslookup localscriptbox.com | Asks DNS for a domain's IP address. |
| IP settings | ipconfig /all | Shows your network settings, or clears the DNS cache, or gets a fresh IP address from the router. |
| Open connections | netstat -ano | Leave the box empty to see everything. Lists open network connections and listening ports with the process ID using each. |
| Download a file | curl -L -o "file.zip" "https://example.com/file.zip" | Downloads a file from the internet with curl, which comes with Windows 10 and 11. |
| Map a network drive | net use Z: "\\NAS\Share" /persistent:yes | Connects a shared folder as a drive letter. "Keep" reconnects it after a restart. |
| Remove a network drive | net use Z: /delete /y | Disconnects a mapped drive. |
| Saved Wi-Fi networks | netsh wlan show profiles | Lists the Wi-Fi networks this PC remembers. |
| Wi-Fi password | netsh wlan show profile name="MyWiFi" key=clear | findstr /c:"Key Content" | Shows the saved password for one Wi-Fi network (under Key Content). |
| Set DNS servers | netsh interface ip set dns name="Wi-Fi" static 1.1.1.1 | Changes the DNS server for a network adapter (names like Wi-Fi or Ethernet). Needs Run as administrator. |
| Automatic DNS | netsh interface ip set dns name="Wi-Fi" dhcp | Puts an adapter's DNS back to whatever the router hands out. Needs Run as administrator. |
| Open a firewall port | netsh advfirewall firewall add rule name="Game server" dir=in action=allow protocol=TCP localport=25565 | Lets other devices connect to a port on this PC, like for a game server. Needs Run as administrator. |
| Reset networking | netsh winsock reset | Resets Winsock and TCP/IP, a common fix for broken internet. Needs Run as administrator and a restart. |
| Test a port | powershell -NoProfile -Command "if ((Test-NetConnection 'localscriptbox.com' -Port 443 -WarningAction SilentlyContinue).TcpTestSucceeded) { 'Open' } else { 'Closed' }" | Checks whether a server accepts connections on a port. |
| MAC addresses | getmac /v | Lists the hardware (MAC) addresses of your network adapters. |
| Devices seen on the network | arp -a | Lists devices this PC has talked to on the local network, with their IP and MAC addresses. |
Anything else 2
| Block | Code | What it does |
|---|---|---|
| Any command | echo Anything goes here | Type any command or line of batch you like, exactly as it should appear in the file. |
| Several lines | echo one | Paste a chunk of batch code as it is. |
Every Windows command
The "Windows command" block can run any of these 232 commands that come with Windows. Ones marked "window" open a program, so the block starts them with start "" and the script carries on without waiting.
Built into cmd 39
| Command | Example | What it does |
|---|---|---|
assoc | assoc .txt | Shows or changes which file type an extension belongs to. |
break | break | Does nothing on Windows; kept so very old scripts still run. |
call | call other.bat | Runs another batch file or a :label section and comes back afterwards. |
cd | cd /d "%USERPROFILE%" | Shows or changes the current folder (chdir is the same command). |
cls | cls | Clears the window. |
cmd | cmd /c echo Hello | Starts a new command prompt; /c runs one command then closes, /k keeps it open. |
color | color 0A | Sets the window's background and text colors with two hex digits. |
copy | copy "a.txt" "b.txt" | Copies files, or joins several into one with +. |
date | date /t | Shows the date (/t), or sets it when run as administrator. |
del | del /q "*.tmp" | Deletes files (erase is the same command). |
dir | dir /b | Lists files and folders. |
echo | echo Hello | Prints text, or turns command echoing on or off. |
endlocal | endlocal | Ends a setlocal and throws away the variables set since. |
exit | exit /b 0 | Leaves the script (/b) or closes cmd, with an exit code. |
for | for %%F in (*.txt) do echo %%F | Repeats a command for files, folders, numbers, lines or command output. |
ftype | ftype txtfile | Shows or sets the program that opens a file type. |
goto | goto label | Jumps to a :label in the script. |
if | if exist "file.txt" echo Found | Runs a command only when a condition is true. |
md | md "New folder" | Makes folders, including missing parent folders (mkdir is the same). |
mklink | mklink /j "Link" "Target" | Makes symbolic links, hard links and folder junctions. |
move | move "a.txt" "Folder\" | Moves files or renames a folder. |
path | path | Shows or sets the list of folders cmd searches for programs. |
pause | pause | Waits for a key press. |
popd | popd | Goes back to the folder saved by pushd. |
prompt | prompt $P$G | Changes what the cmd prompt looks like. |
pushd | pushd "C:\Folder" | Saves the current folder and goes to another, even a network share. |
rd | rd /s /q "Folder" | Removes a folder, with /s everything inside it too (rmdir is the same). |
rem | rem A note | A comment; the line is ignored. |
ren | ren "old.txt" "new.txt" | Renames files or folders (rename is the same). |
set | set "NAME=value" | Shows, sets or removes variables; /a does math, /p asks for input. |
setlocal | setlocal EnableDelayedExpansion | Keeps variable changes local to the script and can turn on !VAR! expansion. |
shift | shift | Moves the script's arguments down one place, %2 into %1 and so on. |
start | start "" "notepad.exe" | Opens a program, file or website in its own window. |
time | time /t | Shows the time (/t), or sets it when run as administrator. |
title | title My script | Sets the window title. |
type | type "file.txt" | Prints a text file. |
ver | ver | Shows the Windows version number. |
verify | verify | Shows or sets file-write verification (does nothing useful today). |
vol | vol C: | Shows a drive's label and serial number. |
Files, folders & disks 38
| Command | Example | What it does |
|---|---|---|
attrib | attrib +h "file.txt" | Shows or changes hidden, read-only, system and archive flags. |
bcdboot | bcdboot C:\Windows /s S: | Copies boot files to a partition so Windows can start from it. |
cacls | cacls "file.txt" | Old way to view or change file permissions; use icacls instead. |
chkdsk | chkdsk C: | Checks a drive for file system errors and can fix them (/f). |
chkntfs | chkntfs C: | Shows or changes whether a drive gets checked at startup. |
cipher | cipher /w:C:\ | Encrypts files with EFS, or wipes free space so deleted files can't be recovered (/w). |
comp | comp "a.bin" "b.bin" /m | Compares two files byte by byte. |
compact | compact /c /s "Folder" | Shows or changes NTFS compression on files and folders. |
convert | convert D: /fs:ntfs | Converts a FAT32 drive to NTFS without losing files. |
defrag | defrag C: /o | Optimizes drives: TRIM for SSDs, defragmenting for hard drives. |
diskpart | diskpart /s commands.txt | Manages disks, partitions and volumes. Powerful: it can wipe disks. |
diskshadow | diskshadow | Manages volume shadow copies (on Windows Server). |
expand | expand "file.cab" -F:* "Folder" | Unpacks files from .cab archives. |
extrac32 | extrac32 /e "file.cab" | Another tool for unpacking .cab files. |
fc | fc "a.txt" "b.txt" | Compares two files and shows the differences. |
find | find /i "word" "file.txt" | Finds lines containing a piece of text. |
findstr | findstr /s /i "word" *.txt | Searches files for text, with wildcards and patterns. |
forfiles | forfiles /p "C:\Logs" /d -30 /c "cmd /c echo @file" | Runs a command on files picked by name or age. |
format | format E: /fs:exfat /q | Formats a drive. Everything on it is erased. |
fsutil | fsutil volume diskfree C: | Low-level file system tool: free space, test files, TRIM, hard links and more. |
icacls | icacls "Folder" /grant Users:(OI)(CI)M | Shows, changes, saves or restores file and folder permissions. |
label | label E: Backup | Changes a drive's name. |
makecab | makecab "file.txt" "file.cab" | Packs a file into a .cab archive. |
manage-bde | manage-bde -status | Turns BitLocker drive encryption on or off and shows its status. |
mountvol | mountvol | Lists volumes and links them to drive letters or folders. |
recover | recover "file.txt" | Rescues readable parts of a file from a damaged disk. |
repair-bde | repair-bde C: D: -rk F:\key.bek | Tries to get data back from a damaged BitLocker drive. |
replace | replace "C:\New\*.*" "C:\Old" /u | Replaces files in one folder with newer copies from another. |
robocopy | robocopy "C:\From" "D:\To" /e | Copies folders robustly, skipping up-to-date files; the best tool for backups. |
sort | sort "names.txt" | Sorts lines of text. |
subst | subst X: "C:\Projects" | Shows a folder as its own drive letter. |
takeown | takeown /f "Folder" /r /d y | Makes you the owner of files or folders. |
tar | tar -a -c -f "out.zip" "Folder" | Creates and unpacks .zip and .tar archives. |
tree | tree /f /a | Draws the folder structure as a tree. |
vssadmin | vssadmin list shadows | Lists and manages shadow copies used by System Restore and backups. |
wbadmin | wbadmin get versions | Windows Backup from the command line. |
where | where python | Finds where a program or file is. |
xcopy | xcopy "C:\From" "D:\To\" /e /i | Copies files and folders (robocopy is usually better). |
Network 27
| Command | Example | What it does |
|---|---|---|
arp | arp -a | Shows the IP and MAC addresses of devices seen on the local network. |
bitsadmin | bitsadmin /transfer job https://example.com/f.zip "%CD%\f.zip" | Downloads files in the background (older; curl is simpler). |
curl | curl -L -o "file.zip" https://example.com/file.zip | Downloads files and talks to web servers and APIs. |
finger | finger user@host | Asks an old-style server about a user. Rarely used now. |
ftp | ftp -s:commands.txt host | Transfers files with an FTP server. |
getmac | getmac /v | Lists network adapters and their MAC addresses. |
hostname | hostname | Prints the computer's name. |
ipconfig | ipconfig /all | Shows network settings, clears the DNS cache, or renews the IP address. |
nbtstat | nbtstat -n | Shows NetBIOS names and connections, used by older Windows file sharing. |
net | net use | Manages shares, mapped drives, users, groups and services (net use, net user, net start…). |
netsh | netsh wlan show profiles | Configures networking: Wi-Fi, firewall, IP addresses, proxies and more. |
netstat | netstat -ano | Lists open connections and listening ports. |
nslookup | nslookup example.com | Looks up a domain's IP address and other DNS records. |
pathping | pathping example.com | Traces the route to a server and measures loss at every hop. |
ping | ping -n 4 1.1.1.1 | Checks whether a device or site answers, and how fast. |
pktmon | pktmon start --capture | Captures network packets for troubleshooting. |
route | route print | Shows or changes the IP routing table. |
rpcping | rpcping -s server | Tests the RPC connection to a server. |
scp | scp "file.txt" user@host:/home/user/ | Copies files to or from another computer over SSH. |
sftp | sftp user@host | Transfers files over SSH, interactively. |
ssh | ssh user@host | Opens a secure shell on another computer. |
ssh-keygen | ssh-keygen -t ed25519 | Makes SSH keys for logging in without a password. |
telnet | telnet host 23 | Connects to a telnet server or tests a port (optional Windows feature). |
tftp | tftp -i host get file.bin | Transfers a file with a TFTP server (optional Windows feature). |
tracert | tracert -d example.com | Shows each hop on the way to a server. |
winrm | winrm quickconfig | Sets up Windows Remote Management. |
winrs | winrs -r:server ipconfig | Runs a command on another PC through Windows Remote Management. |
Users & security 12
| Command | Example | What it does |
|---|---|---|
auditpol | auditpol /get /category:* | Shows or changes which security events Windows logs. |
certreq | certreq -new request.inf request.req | Requests certificates from a certificate authority. |
certutil | certutil -hashfile "file.iso" SHA256 | Certificate tool, also handy for file hashes and Base64. |
cmdkey | cmdkey /list | Lists, adds or removes saved passwords for servers and shares. |
gpresult | gpresult /r | Shows which group policies apply to this PC and user. |
gpupdate | gpupdate /force | Applies group policy changes right away. |
klist | klist | Lists Kerberos tickets on a domain-joined PC. |
ksetup | ksetup | Configures Kerberos settings. |
logoff | logoff | Signs the current user out. |
runas | runas /user:Administrator cmd | Runs a program as another user. |
secedit | secedit /export /cfg policy.inf | Exports, analyzes or applies security policy settings. |
whoami | whoami /all | Shows the signed-in user, their groups and privileges. |
Programs & services 14
| Command | Example | What it does |
|---|---|---|
msiexec | msiexec /i "setup.msi" /qn | Installs, repairs or removes .msi packages. |
openfiles | openfiles /query | Lists files opened over the network (or locally once turned on). |
qprocess | qprocess | Lists running processes with their session (same as query process). |
regsvr32 | regsvr32 "file.dll" | Registers or unregisters a DLL or control. |
rundll32 | rundll32 user32.dll,LockWorkStation | Runs a function inside a DLL, used for things like locking the screen. |
sc | sc query | Lists, starts, stops and configures services. |
schtasks | schtasks /query | Creates, runs, changes and deletes scheduled tasks. |
taskkill | taskkill /im notepad.exe | Closes programs by name or process ID. |
tasklist | tasklist | Lists running programs. |
timeout | timeout /t 5 | Waits a number of seconds. |
tskill | tskill notepad | Ends a process by name or ID (older than taskkill). |
waitfor | waitfor /t 60 GoSignal | Waits for, or sends, a named signal between scripts or PCs. |
winget | winget upgrade --all | Installs, updates and removes apps. |
wusa | wusa "update.msu" /quiet /norestart | Installs or removes Windows update packages (.msu). |
System, power & repair 21
| Command | Example | What it does |
|---|---|---|
bcdedit | bcdedit /enum | Views and changes boot settings. Careful: a mistake can stop Windows starting. |
bootcfg | bootcfg /query | Old tool for boot settings; bcdedit replaced it. |
dism | dism /Online /Cleanup-Image /RestoreHealth | Repairs and services the Windows image, and adds or removes features. |
driverquery | driverquery /v | Lists installed drivers. |
fltmc | fltmc | Lists the file system filter drivers, like antivirus. |
msinfo32 | start "" msinfo32 /report "%USERPROFILE%\Desktop\info.txt" | System Information, as a window or a saved report. (window) |
pnputil | pnputil /enum-drivers | Adds, removes, lists and exports driver packages. |
powercfg | powercfg /batteryreport | Power plans, sleep settings, battery and energy reports. |
pwlauncher | pwlauncher /disable | Turns the Windows To Go startup options on or off. |
reagentc | reagentc /info | Manages the Windows Recovery Environment. |
reg | reg query HKCU\Environment | Reads, adds, deletes, exports and imports registry settings. |
regini | regini changes.ini | Changes the registry from a script file. |
sfc | sfc /scannow | Checks Windows' system files and repairs broken ones. |
shutdown | shutdown /s /t 60 | Shuts down, restarts, hibernates or signs out, with a timer. |
systeminfo | systeminfo | Shows the Windows version, hardware, updates and uptime. |
systemreset | start "" systemreset | Opens Reset this PC. (window) |
tzutil | tzutil /g | Shows or sets the time zone. |
verifier | start "" verifier | Driver Verifier, for stress-testing drivers. Can cause crashes on purpose. (window) |
w32tm | w32tm /resync | Windows Time service: syncs the clock and shows its status. |
winsat | winsat formal | Runs Windows' built-in hardware performance tests. |
wmic | wmic os get caption | Old WMI command line; being removed from Windows, use PowerShell instead. |
Remote Desktop & sessions 11
| Command | Example | What it does |
|---|---|---|
change | change logon /query | Changes Remote Desktop server settings for logons, ports or install mode. |
msg | msg * Time for a break | Sends a popup message to a user or session. |
mstsc | start "" mstsc /v:server | Opens Remote Desktop Connection. (window) |
query | query user | Shows sessions, users and processes on a Remote Desktop server. |
quser | quser | Lists signed-in users and their sessions. |
qwinsta | qwinsta | Lists Remote Desktop sessions. |
rdpsign | rdpsign /sha256 hash "file.rdp" | Signs a Remote Desktop (.rdp) file. |
rwinsta | rwinsta 2 | Resets (ends) a Remote Desktop session. |
shadow | shadow 2 | Watches or controls another user's Remote Desktop session. |
tscon | tscon 2 /dest:console | Connects to another session. |
tsdiscon | tsdiscon | Disconnects a session without signing out. |
Logs & performance 9
| Command | Example | What it does |
|---|---|---|
eventcreate | eventcreate /t information /id 100 /l application /d "Backup done" | Writes your own entry into an event log. |
lodctr | lodctr /r | Rebuilds or registers performance counters. |
logman | logman query | Creates and manages performance and trace logs. |
relog | relog in.blg -f csv -o out.csv | Converts performance logs, for example to CSV. |
tracerpt | tracerpt trace.etl -o report.xml | Turns trace logs into reports. |
typeperf | typeperf "\Processor(_Total)\% Processor Time" -sc 5 | Prints performance counters like CPU use. |
unlodctr | unlodctr service | Removes a program's performance counters. |
wecutil | wecutil es | Manages event log subscriptions. |
wevtutil | wevtutil qe System /c:10 /rd:true /f:text | Reads, exports and clears event logs. |
Console & scripting 15
| Command | Example | What it does |
|---|---|---|
chcp | chcp 65001 | Changes the text code page, like 65001 for UTF-8. |
choice | choice /c YN /m "Continue" | Waits for one key from a list. |
clip | clip < "file.txt" | Copies text to the clipboard. |
cscript | cscript //nologo script.vbs | Runs a VBScript or JScript file in the console. |
doskey | doskey ls=dir $* | Makes command shortcuts (macros) and recalls past commands. |
help | help dir | Shows help for a cmd command. |
iexpress | start "" iexpress | Builds self-extracting installers. (window) |
mode | mode con: cols=100 lines=30 | Sets the window size, keyboard speed and serial ports. |
more | more < "file.txt" | Shows long output one screen at a time. |
powershell | powershell -NoProfile -Command "Get-Date" | Runs Windows PowerShell commands or scripts. |
print | print "file.txt" | Sends a text file to a printer. |
pwsh | pwsh -NoProfile -Command "Get-Date" | Runs PowerShell 7, if it is installed. |
setx | setx NAME "value" | Saves a variable permanently for new windows and programs. |
wscript | wscript script.vbs | Runs a VBScript or JScript file with popup windows. |
wsl | wsl ls -la | Runs Linux commands with the Windows Subsystem for Linux. |
Open a Windows tool 46
| Command | Example | What it does |
|---|---|---|
appwiz.cpl | start "" appwiz.cpl | Opens Programs and Features (uninstall programs). (window) |
calc | start "" calc | Opens Calculator. (window) |
certmgr.msc | start "" certmgr.msc | Opens your certificates. (window) |
charmap | start "" charmap | Opens Character Map, for symbols and special characters. (window) |
cleanmgr | start "" cleanmgr | Opens Disk Cleanup. (window) |
compmgmt.msc | start "" compmgmt.msc | Opens Computer Management. (window) |
control | start "" control | Opens Control Panel (or a page of it, like control printers). (window) |
desk.cpl | start "" desk.cpl | Opens display settings. (window) |
devmgmt.msc | start "" devmgmt.msc | Opens Device Manager. (window) |
diskmgmt.msc | start "" diskmgmt.msc | Opens Disk Management. (window) |
dxdiag | start "" dxdiag /t "%USERPROFILE%\Desktop\dxdiag.txt" | DirectX Diagnostic Tool: graphics, sound and driver info, as a window or a report. (window) |
eventvwr | start "" eventvwr | Opens Event Viewer. (window) |
explorer | start "" explorer "%USERPROFILE%\Downloads" | Opens File Explorer, optionally on a folder. (window) |
firewall.cpl | start "" firewall.cpl | Opens Windows Defender Firewall. (window) |
gpedit.msc | start "" gpedit.msc | Opens the Local Group Policy Editor (Pro and up). (window) |
inetcpl.cpl | start "" inetcpl.cpl | Opens Internet Options. (window) |
lusrmgr.msc | start "" lusrmgr.msc | Opens Local Users and Groups (Pro and up). (window) |
magnify | start "" magnify | Opens Magnifier. (window) |
main.cpl | start "" main.cpl | Opens Mouse properties. (window) |
mdsched | start "" mdsched | Opens Windows Memory Diagnostic, which tests RAM after a restart. (window) |
mmc | start "" mmc | Opens the Microsoft Management Console. (window) |
mmsys.cpl | start "" mmsys.cpl | Opens Sound settings (playback and recording devices). (window) |
ms-settings: | start "" ms-settings: | Opens Settings; add a page after the colon, like ms-settings:windowsupdate. (window) |
msconfig | start "" msconfig | Opens System Configuration (startup and boot options). (window) |
mspaint | start "" mspaint | Opens Paint. (window) |
narrator | start "" narrator | Starts Narrator, the screen reader. (window) |
ncpa.cpl | start "" ncpa.cpl | Opens Network Connections (adapters). (window) |
notepad | start "" notepad "file.txt" | Opens Notepad, optionally with a file. (window) |
optionalfeatures | start "" optionalfeatures | Opens Turn Windows features on or off. (window) |
osk | start "" osk | Opens the on-screen keyboard. (window) |
perfmon | start "" perfmon /rel | Opens Performance Monitor; /rel opens Reliability Monitor. (window) |
powercfg.cpl | start "" powercfg.cpl | Opens Power Options. (window) |
regedit | start "" regedit | Opens Registry Editor. (window) |
resmon | start "" resmon | Opens Resource Monitor. (window) |
rstrui | start "" rstrui | Opens System Restore. (window) |
secpol.msc | start "" secpol.msc | Opens Local Security Policy (Pro and up). (window) |
services.msc | start "" services.msc | Opens Services. (window) |
sigverif | start "" sigverif | Checks for unsigned system files. (window) |
sndvol | start "" sndvol | Opens the Volume Mixer. (window) |
snippingtool | start "" snippingtool | Opens the Snipping Tool. (window) |
sysdm.cpl | start "" sysdm.cpl | Opens System Properties (PC name, restore, environment variables). (window) |
taskmgr | start "" taskmgr | Opens Task Manager. (window) |
taskschd.msc | start "" taskschd.msc | Opens Task Scheduler. (window) |
timedate.cpl | start "" timedate.cpl | Opens Date and Time. (window) |
wf.msc | start "" wf.msc | Opens the advanced firewall settings. (window) |
winver | start "" winver | Shows the About Windows box with the exact version. (window) |
Batch File Builder FAQ
What is a batch file?
A batch file is a plain text file ending in .bat that holds a list of commands for cmd, the Windows command prompt. Double-clicking it runs the commands one after another, so anything you'd type into cmd can be saved and run again with one click.
Does it have every command?
The "Every Windows command" group has the commands built into cmd plus the command-line tools that come with Windows, each with a short explanation, and the other groups have ready-made blocks for the things scripts do most. Anything that isn't there, like a program you installed yourself, goes in an "Any command" block.
Why doesn't my variable change inside a loop or if block?
cmd reads a whole bracketed block before running any of it, so %NAME% inside it is filled in once with the value from before the block. Add the "Keep variables local" block with delayed expansion ticked near the top, then write !NAME! instead of %NAME% inside the block. The builder warns you when this happens.
Why do loop variables have two percent signs?
Inside a .bat file a loop variable is written %%F. Typed straight into cmd it would be %F, but in a file cmd needs the second % to tell it apart from a normal variable. The loop blocks write it for you.
Some blocks need Run as administrator. How?
Right-click the .bat file and choose Run as administrator. Or add the "Ask for administrator" block at the top and the script asks Windows for permission by itself when it starts.
What's the difference between .bat and .cmd?
Almost nothing on Windows 10 and 11. Both run in cmd. You can type either ending in the file name box.
Does it work on Mac or Linux?
No, batch files are Windows only. Mac and Linux use shell scripts, which are a different language.
Is my script uploaded anywhere?
No. The blocks and the code are built in your browser and saved only in this browser's storage. The download comes straight from your browser too.
Ready-made scripts
Rather start from one that's already done? Each of these 69 scripts has its own page where you pick a few options and download the .bat.
Shutdown, power & sleep10
- Shutdown TimerShut down, restart, hibernate or lock the PC after a delay.
- Keep PC AwakeStop the PC sleeping or the screen turning off while the window is open.
- Turn Off the ScreenTurn the monitor off instantly without sleeping the PC.
- Switch Power PlanSwitch between Balanced, High performance, Power saver and Ultimate plans.
- Turn Hibernation On or OffFree several GB by turning hibernation off, or switch it back on.
- Laptop Battery ReportSee your laptop battery's health, capacity and usage history.
- PC Uptime & Last RestartsSee how long the PC has been on and when it last restarted or shut down.
- Wake a PC on the Network (Wake-on-LAN)Turn on another PC, server or NAS over the network with a magic packet.
- Shut Down When Downloads FinishWait until downloads and game updates stop, then shut down, restart or hibernate.
- Shut Down When a Program ClosesTurn the PC off once a render, export, installer or game update closes.
Clean up & free space12
- Clear Temp FilesFree up space by deleting leftover temporary files.
- Empty Recycle BinEmpty the Recycle Bin on all drives, with a confirmation first.
- Clear Windows Update CacheFix stuck or failing Windows updates by clearing downloaded update files.
- Delete Old FilesClean out files older than N days. Previews first by default.
- Clear Recent Files HistoryWipe Windows' recent files list, jump lists and Run box history.
- Fix Broken Icons (Reset Icon Cache)Fix blank, wrong or outdated icons and thumbnails by rebuilding the cache.
- Restart Windows ExplorerFix a frozen taskbar, Start menu or desktop without rebooting.
- Find Large FilesList the biggest files on a drive or folder to see what's eating space.
- Find Duplicate FilesFind identical files (same content) anywhere in a folder.
- Folder Size ReportSee how much space each subfolder uses, largest first.
- Clear Shader CacheDelete NVIDIA, AMD, Intel and DirectX shader caches to fix stutter after driver updates.
- Clear Discord CacheFree up space and fix glitches by clearing Discord's cache, without logging out.
Files & folders16
- Organize DownloadsSort a messy folder into Images, Documents, Videos and more.
- Backup FolderCopy a folder to a backup drive, in a dated folder each time.
- Make Folders From a ListCreate many folders (and subfolders) at once from a list.
- List Files to TextSave a list of every file in a folder to a text file.
- Zip a FolderCompress a folder into a .zip, optionally with today's date in the name.
- Today's FolderCreate and open a folder named with today's date.
- Change File ExtensionsRename every .jpeg to .jpg (or any extension) in a folder at once.
- Copy Folder StructureCopy a folder tree without any files: just the empty folders.
- Combine Text FilesMerge every .txt (or .log, .csv…) in a folder into one file.
- Sort Photos Into Date FoldersMove photos and videos into Year or Year\Month folders by date taken.
- Rename Photos by Date TakenRename IMG_1234.jpg files to 2026-03-14_153000.jpg using the date taken.
- Resize All Images in a FolderShrink every photo in a folder to a maximum size, saved as copies.
- Make a Test File of Any SizeCreate a file of an exact size (like 100 MB) to test uploads, drives or limits.
- Compare Two FoldersList files that are only in one folder, or different between two folders.
- Check File HashGet a file's SHA-256 or MD5 checksum and compare it to the expected one.
- Save Clipboard to a Text FileAppend whatever text is on the clipboard to a notes file, with a timestamp.
Network & internet10
- Network ResetFlush DNS, renew your IP and reset Winsock to fix connection problems.
- Internet Connection MonitorLog every time your internet drops and comes back.
- Show Saved Wi-Fi PasswordsList the passwords of Wi-Fi networks this PC has saved.
- Check If Servers Are UpPing websites and check game or app server ports in one go.
- Map a Network DriveConnect a shared folder or NAS as a drive letter (or remove it).
- Show My IP AddressesShow this PC's local IP, router address and public IP.
- Find Devices on My NetworkList every device that answers on your home network, with names and MAC addresses.
- What's Using a Port?Find which program is using a network port, like 8080 or 25565.
- Switch DNS ServersUse Cloudflare, Google or Quad9 DNS, or go back to automatic.
- Open a Port in Windows FirewallAllow incoming connections on a port for a game or app server.
Repair & system info11
- System Info ReportSave PC specs, Windows version, disks and network details to a text file.
- Repair Windows System FilesRun DISM and SFC to fix corrupted Windows files (needs admin).
- Disk Health CheckCheck whether your drives report problems, plus free space.
- SSD Health & WearSee how worn out your SSDs are, their temperature, power-on hours and errors.
- Installed Programs ListSave a list of every installed program, with versions, to a spreadsheet.
- Startup Programs ListSee which programs start automatically when you sign in.
- Create a Restore PointMake a System Restore point before installing drivers or tweaking Windows.
- Fix PC ClockResync the Windows clock with internet time (needs admin).
- Fix Stuck Printer QueueClear jammed print jobs and restart the print spooler (needs admin).
- Check PATH EntriesList every folder on PATH and flag missing or duplicate entries.
- Back Up and Restore DriversSave every installed driver to a folder before a reinstall, and put them back later.
Apps & automation10
- Open My Apps & SitesLaunch all your work apps, folders and websites with one click.
- Force Close a ProgramEnd frozen programs by name with one double-click.
- Auto-Restart a ProgramRestart a program or game server automatically when it closes or crashes.
- Reminder PopupShow a popup message after a number of minutes.
- Install & Update Apps (winget)Install your favourite apps in one go, or update everything, with winget.
- Schedule a Program or ScriptRun any program or .bat automatically every day, week, hour or at sign-in.
- Dark Mode ToggleSwitch Windows between dark and light mode with a double-click.
- Show Hidden Files & ExtensionsShow or hide hidden files and file extensions in File Explorer.
- Add to the Right-Click MenuAdd Notepad, Copy path or Command Prompt to the right-click menu, or bring back the full menu on Windows 11.
- Block Distracting WebsitesBlock YouTube, Reddit, TikTok or any site on this PC to focus, and unblock it later.