Any authentic Batch to Executable Convertors?

twindtrout9783

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
100
Trophies
0
Location
Aperture Science Enrichment Center
Website
www.youtube.com
XP
304
Country
United States
I need to convert a .bat file to a .exe, but the last one that I had windows flagged it as a Trojan:Win32/Wacatac.B!ml virus. So to be safe, I deleted it. I want to know if there are any authentic (and safe) programs that I can use to convert a batch script to an executable.

This is what I was using.
 
Last edited by twindtrout9783,

Mythical

Well-Known Member
Member
Joined
May 11, 2017
Messages
2,153
Trophies
1
Age
25
XP
3,003
Country
United States
I need to convert a .bat file to a .exe, but the last one that I had windows flagged it as a Trojan:Win32/Wacatac.B!ml virus. So to be safe, I deleted it. I want to know if there are any authentic (and safe) programs that I can use to convert a batch script to an executable.

This is what I was using.
I tried the program you're using and it seems safe overall. I also tested it with one of my own bat files again no problem and it works just fine. You could just put an exclusion folder in your anitvirus where the bat files/exe files would be located then try again
I use windows 10 and malwarebytes
 
Last edited by Mythical,

twindtrout9783

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
100
Trophies
0
Location
Aperture Science Enrichment Center
Website
www.youtube.com
XP
304
Country
United States
Why do you need to convert the batch file to exe?
So that I can launch Minecraft through Steam, giving me the in-game overlay. Steam only lets you add executables as Non-Steam games. I've tried changing the target to my .bat file, and it works, but it only lets me open the game through Steam, and doesn't give me the in-game overlay.
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
So that I can launch Minecraft through Steam, giving me the in-game overlay. Steam only lets you add executables as Non-Steam games. I've tried changing the target to my .bat file, and it works, but it only lets me open the game through Steam, and doesn't give me the in-game overlay.
Why do you need a batch file for this?
 

twindtrout9783

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
100
Trophies
0
Location
Aperture Science Enrichment Center
Website
www.youtube.com
XP
304
Country
United States
Why do you need a batch file for this?
So that I can launch the game with the script that the Minecraft launcher uses, enabling to skip over the Minecraft Launcher entirely (for that installation.)
I tried the program you're using and it seems safe overall. I also tested it with one of my own bat files again no problem and it works just fine. You could just put an exclusion folder in your anitvirus where the bat files/exe files would be located then try again
I use windows 10 and malwarebytes
Thank you. Also, what anti-virus and anti-malware programs should I use? I only have Windows Defender. (Which by itself isn't enough)
 
Last edited by twindtrout9783,

Mythical

Well-Known Member
Member
Joined
May 11, 2017
Messages
2,153
Trophies
1
Age
25
XP
3,003
Country
United States
So that I can launch the game with the script that the Minecraft launcher uses, enabling to skip over the Minecraft Launcher entirely (for that installation.)

Thank you. Also, what anti-virus and anti-malware programs should I use? I only have Windows Defender. (Which by itself isn't enough)
I use windows defender then if I feel like I ran some possible shady software/shadow download or if my computer is acting funny I run a Malwarevytes scan (I don't leave it going in the backround and the free version works just fine for this)
 

twindtrout9783

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
100
Trophies
0
Location
Aperture Science Enrichment Center
Website
www.youtube.com
XP
304
Country
United States
I use windows defender then if I feel like I ran some possible shady software/shadow download or if my computer is acting funny I run a Malwarevytes scan (I don't leave it going in the backround and the free version works just fine for this)
I'll download Malwarebytes then.
Thank you.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Maybe try making the application cmd.exe, with the launch options pointing to the batch file.
yeah you can just make a copy of the cmd.exe file to wherever you have stored your bat file, then in steam add "/c batfilename.bat" in the launch options part in steam, or you could link the full file path, I just find sticking a copy of cmd makes things a little bit simpler if you might move the file etc without having to fix thing

EDIT: I just had a little test of launching Minecraft launcher via steam and I can access the in-game menu fine? unless im missing something, did you try hitting shift and tab once in game.....oh ok I just double read it, and se you wanted to skip the launcher itself :P ignore me :rofl2:

EDIT EDIT: just saw you can actually just select a exe file while setting up the non-steam game initially, then once the game is added to the steam library go edit the path to simply point to the bat file instead of the exe and it will launch fine, just had a quick test and it does indeed work fine
 
Last edited by gamesquest1,
  • Like
Reactions: Issac

twindtrout9783

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
100
Trophies
0
Location
Aperture Science Enrichment Center
Website
www.youtube.com
XP
304
Country
United States
Maybe try making the application cmd.exe, with the launch options pointing to the batch file.
I didn't think of that, thanks.
yeah you can just make a copy of the cmd.exe file to wherever you have stored your bat file, then in steam add "/c batfilename.bat" in the launch options part in steam, or you could link the full file path, I just find sticking a copy of cmd makes things a little bit simpler if you might move the file etc without having to fix thing
That makes things a lot simpler. I get always get a little confused on typing paths into command prompt.

EDIT: I just had a little test of launching Minecraft launcher via steam and I can access the in-game menu fine? unless im missing something, did you try hitting shift and tab once in game.....oh ok I just double read it, and se you wanted to skip the launcher itself :P ignore me :rofl2:
The Minecraft Launcher and the game itself are two different executables, so adding the Minecraft Launcher will not give the game the in-game overlay.
EDIT EDIT: just saw you can actually just select a exe file while setting up the non-steam game initially, then once the game is added to the steam library go edit the path to simply point to the bat file instead of the exe and it will launch fine, just had a quick test and it does indeed work fine
I tried that and it launches the game, but it doesn't give you the in-game overlay.
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
The Minecraft Launcher and the game itself are two different executables, so adding the Minecraft Launcher will not give the game the in-game overlay.
I tried that and it launches the game, but it doesn't give you the in-game overlay.
It did last time I used the Minecraft Launcher through Steam (past 2-3 months). Are you really sure it doesn't have an overlay in-game? Does it work for other Non-Steam games?
 

twindtrout9783

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
100
Trophies
0
Location
Aperture Science Enrichment Center
Website
www.youtube.com
XP
304
Country
United States
It did last time I used the Minecraft Launcher through Steam (past 2-3 months). Are you really sure it doesn't have an overlay in-game? Does it work for other Non-Steam games?
I haven't tried it, but according to my research, it won't work. The Minecraft Launcher is MinecraftLauncher.exe, while the game itself is javaw.exe. Yes, it works for other Non-Steam games. (Even if they aren't games at all.) Also, am I supposed to NOT type the drive letter as part of this command (so basically, if I wanted to find a directory on drive E, I would use /e instead?)
Example: (this is the path to my script for launching my Galacticraft installation)
Code:
/c Users\user\AppData\Roaming\.minecraft\processes\galacticraft\galacticraft.bat


EDIT: Instead of setting each installation that I have as another non-steam game, I made a script that lets me choose in-between.
Code:
@ECHO OFF
TITLE Choose your Minecraft Installation
:START
CLS
ECHO.
ECHO Starting Minecraft. Please choose installation.
ECHO.
ECHO 1. Vanilla 1.15.2
ECHO 2. Vanilla 1.12.2 (N/A)
ECHO 3. Forge 1.12.2
ECHO 4. Galacticraft
ECHO 5. Freedomland
ECHO 6. Dragon Block C
ECHO 7. Cancel
ECHO.
CHOICE /C 1234567 /M ""
IF ERRORLEVEL 7 GOTO EXIT
IF ERRORLEVEL 6 GOTO DRAGONBLOCKC
IF ERRORLEVEL 5 GOTO FREEDOMLAND
IF ERRORLEVEL 4 GOTO GALACTICRAFT
IF ERRORLEVEL 3 GOTO FORGE-1.12.2
IF ERRORLEVEL 2 GOTO START
IF ERRORLEVEL 1 GOTO VANILLA-1.15.2
:VANILLA-1.15.2
C:\Users\user\AppData\Roaming\.minecraft\processes\vanilla\1.15.2\1.15.2.bat
pause
GOTO EXIT
:VANILLA-1.12.2
ECHO Vanila 1.12.2 is not available right now
ECHO.
pause
GOTO START
:FORGE-1.12.2
C:\Users\user\AppData\Roaming\.minecraft\processes\forge\1.12.2\1.12.2.bat
pause
GOTO EXIT
:GALACTICRAFT
C:\Users\user\AppData\Roaming\.minecraft\processes\galacticraft\galacticraft.bat
pause
GOTO EXIT
:FREEDOMLAND
C:\Users\user\AppData\Roaming\.minecraft\processes\freedomland\freedomland.bat
pause
GOTO EXIT
:DRAGONBLOCKC
C:\Users\user\AppData\Roaming\.minecraft\processes\dragonblockc\dragonblockc.bat
pause
GOTO EXIT
:EXIT
exit
 
Last edited by twindtrout9783,

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
I didn't think of that, thanks.

That makes things a lot simpler. I get always get a little confused on typing paths into command prompt.

The Minecraft Launcher and the game itself are two different executables, so adding the Minecraft Launcher will not give the game the in-game overlay.
I tried that and it launches the game, but it doesn't give you the in-game overlay.
when I used the minecraft launcher exe the in game overlay did still work once I had launched the game
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
I haven't tried it, but according to my research, it won't work. The Minecraft Launcher is MinecraftLauncher.exe, while the game itself is javaw.exe. Yes, it works for other Non-Steam games. (Even if they aren't games at all.)
Them being two processes doesn't do anything different, Steam still keeps track of it and will put the overlay on the first one that uses OpenGL/etc. Besides, what you're trying to do is a similar thing: have a middle process (cmd running batch) launch another (javaw).
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Thank you. Also, what anti-virus and anti-malware programs should I use? I only have Windows Defender. (Which by itself isn't enough)
It actually is. Defender was rated the best AV on the market, and that's because Microsoft started taking security seriously. You should also know that batch to executable conversions will often be marked malicious due to heuristics. Malicious actors in the past have used converters, so now their signatures are marked. The same can be applied to Python to executable conversion, or packing with UPX.
 

twindtrout9783

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
100
Trophies
0
Location
Aperture Science Enrichment Center
Website
www.youtube.com
XP
304
Country
United States
Them being two processes doesn't do anything different, Steam still keeps track of it and will put the overlay on the first one that uses OpenGL/etc. Besides, what you're trying to do is a similar thing: have a middle process (cmd running batch) launch another (javaw).
Basicaly, process inside of a process.
1.png
2.png

It actually is. Defender was rated the best AV on the market, and that's because Microsoft started taking security seriously. You should also know that batch to executable conversions will often be marked malicious due to heuristics. Malicious actors in the past have used converters, so now their signatures are marked. The same can be applied to Python to executable conversion, or packing with UPX.
Well that makes sense. Also, should I get something to go along with Windows Defender? (More security won't hurt)
 
Last edited by twindtrout9783,

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Well that makes sense. Also, should I get something to go along with Windows Defender? (More security won't hurt)
Not necessary. Defender will be disabled upon using a different AV anyway. Two AVs can't be used at the same time due to kernel level hooking that they perform in order to remove infections in real-time. If you were, for example, to run NOD32 and Norton side by side, your PC will indefinitely boot into a BSoD because they try to unhook each other from the kernel space that they occupy. Of course a BSoD isn't the only result of using two at once, but it will definitely make things screwy. Besides Defender, just use an ad blocker with decent lists (I recommend this site as they compile most popular lists into one: https://energized.pro/), and use your brain. An AV will only protect you from known malware, so something new or encrypted can only be prevented by using safe online practices. If you suspect something you've downloaded is malicious, run it through a site like Hybrid-Analysis. Unlike VirusTotal and other sites that only work off of signatures, Hybrid-Analysis and those like it will give you detailed diagnostics of the scanned item and reports of what it does to the filesystem, if it makes any network connections, and so on.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: @BakerMan, https://youtu.be/KaMSXIRReOo?si=2hRoijJtiwPUHXk5