Free online Windows batch file generator with eight common command groups — batch rename, format conversion, temp-file cleanup, folder backup, batch folder creation, file-list export, archive by modified date and empty-folder cleanup. Open the command you need and a ready-to-run .bat script appears instantly; copy or download it, no coding required.

What this tool does

  • Open and generate: eight common command groups are built in — batch rename, format conversion, temp-file cleanup, batch backup/copy, batch folder creation, file-list export, archive by modified date and empty-folder cleanup. Open a command, fill in the paths, and the .bat script appears on the right in real time; only one group stays open, opening another collapses the previous one.
  • Batch rename: renames files of a chosen extension as "prefix + number", with a start number and zero-padding options (01, 001).
  • Batch conversion: rename the extension only (fast, e.g. jpeg→jpg), or call ffmpeg (audio/video) or ImageMagick (images) for a real conversion, with a custom program path.
  • Temp cleanup: clears *.tmp, *.log, Thumbs.db and more by wildcard, current folder or all subfolders; the script asks for a Y confirmation before deleting.
  • Backup/copy: copies a whole folder with the built-in robocopy or xcopy, in full-copy or mirror mode.
  • Folders & file list: create folders one by one from a list; export a folder's file names to txt, sorted by name, date, size or extension.
  • Archive by date: moves files into year-month / year / day subfolders by their modified date, with skip or overwrite for duplicates.
  • Empty-folder cleanup: rd removes only folders that contain no files — folders with content are kept automatically; works on the top level or across all subfolders.

What to fill in

  • Batch rename: folder + original extension are required; prefix and start number are optional (photo_ from 1 by default).
  • Batch conversion: folder + original + target extensions are required; ffmpeg / ImageMagick must be installed, or give the full program path.
  • Temp cleanup / empty folders: the folder is required, plus at least one valid wildcard (e.g. *.tmp) for cleanup; the script asks for a Y confirmation before running.
  • Backup/copy: source and target folders are required; robocopy and xcopy ship with Windows.
  • Folders / file list / archive: the directory is required, plus the folder-name list, output file name or granularity.

Only one command group is open at a time and the script contains just that group; while a required field is still empty the panel keeps the hint and regenerates as soon as you fill it in. The script is generated in UTF-8 and switches the code page automatically, so Chinese text runs fine. Try it in a test folder before using it on important data.

    Rating
    5 stars · Excellent
    Code
    No reviews yet — be the first to write one.