Skip to content

phyxolog/bat2exe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bat2exe

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.

How to use

  1. Compile c-dll/main.cpp to generate the DLL file. This DLL can then be integrated into your project.
  2. The DLL provides the following functions:
BOOL complie2exe(LPCSTR szFileName, LPCSTR szOutFileName, LPCSTR szSectionName, BOOL HideCmd)
BOOL change_icon(LPCSTR szFileName, LPCSTR szIconFileName)

Note

This program is outdated but might still be useful in certain scenarios.

About

Solution for converting .bat files to .exe (ASM & C)

Resources

Stars

Watchers

Forks