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.

- 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


Example of converted bat (my old app Cabit, a Cabinet archiver):

See original post for comment:

1 comment: