Batch file builder for Windows 10 and 11
Build batch files by picking tasks, not typing commands.
Make Batch Files turns everyday jobs into a working Windows batch file: copy a folder, zip it, upload it, stop a service, schedule a task. Pick a task, fill in its options in plain words, and it writes the commands and switches for you.
@ECHO OFFREM 7-Zip: its installer does not add 7z.exe to the PATH, so look in its usual folders tooSET "MBF_7Z="FOR %%P IN (7z.exe) DO SET "MBF_7Z=%%~$PATH:P"IF NOT DEFINED MBF_7Z IF EXIST "%ProgramFiles%\7-Zip\7z.exe" SET "MBF_7Z=%ProgramFiles%\7-Zip\7z.exe"IF NOT DEFINED MBF_7Z IF EXIST "%ProgramFiles(x86)%\7-Zip\7z.exe" SET "MBF_7Z=%ProgramFiles(x86)%\7-Zip\7z.exe"IF NOT DEFINED MBF_7Z ECHO 7-Zip was not found. Install it from https://www.7-zip.org/IF NOT DEFINED MBF_7Z SET "MBF_7Z=7z.exe"TITLE Nightly backupSET BACKUP=D:\BackupROBOCOPY C:\Users\Public\Documents %BACKUP%\Documents /MIR"%MBF_7Z%" a -tzip -mx=1 "%BACKUP%\Documents.zip" "%BACKUP%\Documents"curl.exe -T "D:\Backup\Documents.zip" "ftp://ftp.example.com/nightly/" --user "backup:secret"ECHO Backup finished.PAUSE
How it works
From an idea to a .bat file in three steps
No command names to remember and no switches to look up. You describe the job; Make Batch Files writes the batch file.
-
Pick a task
Drag it from the list: Copy files, Create archive, Start a service, Create task and 109 more. Type a few letters to find one by its name or its command.
-
Fill in its options
Each task opens a dialog with its options in plain words: which files, where to, which switches. Add, reorder or switch off steps as you go.
-
Make the batch file
Preview the code it writes, then save the .bat file. Your project stays editable: change a step and make the batch file again.
What it can do
113 tasks in 12 groups
From copying files to services, permissions and scheduled tasks. Each task writes the Windows command that does the job, with the switches you chose.
Files
16Copy, move, rename, delete and compare files, search inside them, and copy whole folder trees.
COPYROBOCOPYXCOPYFINDSTRFCATTRIBDirectories
4Create, rename and delete folders, and change the current folder.
MDRMDIRRENCDControl of flow
19IF and ELSE, a loop over the lines of a file, subroutines, bookmarks, and running other programs and batch files.
IFFORCALLGOTOSTARTSETLOCALSystem
15Shut down, list and end running programs, set the date, time and search path, and report on Windows and its drivers.
SHUTDOWNTASKLISTTASKKILLSYSTEMINFOPATHConsole
13Show messages, ask the user a question or offer choices, and set the colours and title of the window.
ECHOSET /PCOLORTITLEPAUSEFile System
12Check and format disks, create symbolic links, give a folder its own drive letter and compress files.
CHKDSKFORMATMKLINKSUBSTCOMPACTService Control
8Start, stop, pause, query, create and delete Windows services.
SC startSC stopSC querySC createAccess Control Lists (ACLs)
8Grant, deny and reset permissions on files and folders, and back them up and restore them.
ICACLS /grantICACLS /denyICACLS /saveTask scheduler
6Create, run, change, end, delete and list scheduled tasks.
SCHTASKS /CreateSCHTASKS /RunSCHTASKS /ChangeNetwork
5Ping a host, upload a file by FTP, download a file, and show IP settings and connections.
PINGcurlipconfignetstatArchive (7-Zip)
2Create and extract archives with 7‑Zip (installed separately).
7z a7z xMisc
5Comments, variables and batch file parameters, with a check that the right parameters were given.
REMSET%1Why it helps
The batch file you meant to write
Tasks with names, not abbreviations
Copy files, Stop a service, Create task. The list also shows the command behind each task, so you learn the commands as you go.
Every option in a dialog
From ROBOCOPY's mirror mode to the many switches of SCHTASKS, each option is spelled out. Send any step's output to a file with one click.
It writes the tricky parts
IF and ELSE blocks, loops over the lines of a file, subroutines with a dispatcher, checks on the batch file's parameters, and finding 7-Zip in its usual folder when it is not on the PATH.
Preview before you save
See the batch file exactly as it will be written. Switch a step off without deleting it while you try things out.
Snippets you can reuse
Select a few steps, save them as a snippet, and drop them into any other project.
Basic, Advanced or Super pro
Choose how much to see. Basic keeps the list to everyday tasks; Super pro shows all 113, including services, permissions and scheduled tasks.
Try it free, for as long as you like
The trial is the full program with one limit: it shows you the batch file it writes but does not save it. Buy a license when you are ready to save your batch files.
- All 113 tasks and their dialogs
- Save and reopen your projects
- Preview the batch file it writes
- Saving the .bat file needs a license
One payment. One license per computer, and it never expires.
- Free updates for life, new versions included
- Free email support
- Pay by card or PayPal
Secure checkout on osolis.com, which handles orders for Make Batch Files.