BAT to EXE

There are many bat2exe tools out there, or more appropriately a wrapper (not a compiler anyhow). But I think mine is the one that its resulting exe behave like a proper cmd apps. It's based on modified 7zip SFX module.

Behavior:
- Can be passed command arguments
- Can be called (and have the correct working directory) from anywhere inside PATH environment
- Do not spawn new cmd box if called from existing cmd box.
- Provide %SFXPATH% as corrected %CD% at RunProgram
- Provide standalone cmd.exe from ReactOS

Download:
github.com/tumagonx/portabat

Example of converted bat (my old app Cabit, a Cabinet archiver):
http://osspack32.googlecode.com/files/cabit.exe

See original post for comment:
http://opensourcepack.blogspot.com/2013/04/a-simple-bat-to-exe-wrapper.html

1 comment: