Rust powered BAT to EXE packaging

Turn a batch script into a polished Windows executable.

ExeFoundry embeds your entire .bat payload and icon into one portable .exe. The converter runs on Windows, macOS, and Linux, so release work can happen from any development machine.

exefoundry --input tool.bat --output Tool.exe
OK: Built Tool.exe
Tool.exe now contains:
  BAT payload
  embedded icon
  argument forwarding

Single file output

The generated EXE carries the batch payload inside itself, so users only receive one file.

Icon included

Use the bundled ExeFoundry logo or pass your own icon. The icon is written into the EXE resource table.

Cross-platform builder

Run the converter on Windows, macOS, or Linux while producing Windows EXE files for BAT utilities.

Playground

Build the exact command before you run it.

Pick a platform binary, name your input and output, choose console mode, and preview the command. The playground stays in your browser and does not upload files.

Sample BAT

Edit this sample and download it locally to test ExeFoundry.

Downloads

One converter for each operating system.

Workflow

How ExeFoundry packages a BAT file.

  1. 1

    Read the source BAT bytes exactly as written.

  2. 2

    Copy a small Windows runner template into the output EXE.

  3. 3

    Embed the bundled icon or your custom icon into the EXE resources.

  4. 4

    Append the BAT payload and metadata so the EXE can extract and run it.