Active11 months ago
I have a fairly simple batch script that I would like to execute using a macro on my fancy gaming keyboard. Install hp universal print driver. However, SteelSeries Engine only supports opening a .exe file with the macro buttons. Is there any way to convert the script into a simple executable?
Solved:.EXE Back to.BAT. A new folder appear with a short string of random charecters. Open that file and inside will be a dll made by the exe converter, as. BAT script to EXE. There are quite a few apps that let you convert a BAT script to an EXE. You can try either BAT to Exe or BAT 2 EXE. Both work more or less the same but BAT 2 EXE is built for just this one purpose while BAT to EXE has a few additional features including a script editor. Make sure you have your BAT file ready and move it to a. May 30, 2013 Download BatToExe for free. Easily convert batch files to executables. BatToExe is a no frills Windows Forms application written in C# that converts batch (.bat) files to executables (.exe). The main functionality centers around runtime compilation in C#. Here are 2 free programs that I highly recommend for creating EXE's out of batch files. 1 - Bat To Exe Converter. 2 - Bat 2 Exe. You can use both programs with simple GUI. Bat To Exe Converter supports also CLI commands (? Flag for help). Basic example from documentation: BatToExeConverter.exe -bat mybatfile.bat -save myprogram.exe -icon myicon.
Chase Sandmann
Chase SandmannChase Sandmann
40311 gold badge33 silver badges1212 bronze badges
4 Answers
Yes, actually. It's not pretty, but it's clean (nothing to clean up afterwards) and it's actually built-in to your system!
In your
C:WindowsSystem32
folder, there is a file called iexpress.exe
. - Right-click it an
Run as administrator
. - Create a new SED and select 'Extract files and run an installation command.'
- Add the script you want, and make sure that on the next screen, you set the install program to
cmd /c [your_script.bat]
where [your_script.bat] is the script file you want to execute. If you don't do this, windows will try to use Command.com (the old version of Command Prompt) which hasn't been in use for quite a while. - Select preferences (you might need to select 'Store files using Long File Name inside Package), set an output path (to the .exe file you want to create), and select 'No restart'.
- Click next and you should have your .exe!
Just a note, this file actually only acts as a wrapper for your script, and the script itself actually gets executed in a temp folder created on execution (and deleted afterwards), so make sure you don't use any relative paths.
WELZ15411 gold badge33 silver badges1515 bronze badges
Exe To Bat Converter Online
Chase SandmannChase Sandmann40311 gold badge33 silver badges1212 bronze badges
Here are 2 free programs that I highly recommend for creating EXE's out of batch files
You can use both programs with simple GUI.
Bat To Exe Converter
supports also CLI commands (?
flag for help). Basic example from documentation: rammirammi
Exe To Bat File Converter Online
If your keyboard software supports the passing of arguments to the executable (which is not improbable) you don't have to.
would run the batch file, and give you a valid executable to name for the keyboard software. No conversion needed means you can always easily make changes to your bat without additional steps required.
SyberdoorSyberdoor
I found this article which shows you how to convert a .bat to .exe file using a batch-scipt:
Important downloads:
Stackcraft_noobStackcraft_noob
protected by Community♦Feb 22 '17 at 20:49
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?