bat2exe is a lightweight tool designed to convert batch (.bat) scripts into executable (.exe) files.
The tool consists of two main components:
- Loader: Written in Assembly using MASM32.
- Main DLL: Developed in C, utilizing the WinAPI.
- Compile
c-dll/main.cpp
to generate the DLL file. This DLL can then be integrated into your project. - The DLL provides the following functions:
BOOL complie2exe(LPCSTR szFileName, LPCSTR szOutFileName, LPCSTR szSectionName, BOOL HideCmd)
BOOL change_icon(LPCSTR szFileName, LPCSTR szIconFileName)
This program is outdated but might still be useful in certain scenarios.