Hi,
I was wondering if you could tell me how to compile batch scripts into executable files.
I made a password protection batch file, but someone who was tech-savvy enough could just right-click and edit to see the password. So if it was an .exe file it couldn't be "edited" and see the password.
Regards,
Rileyh
How to compile batch scripts into .exe
Moderator: DosItHelp
Re: How to compile batch scripts into .exe
Batch is an interpreted language and cannot be compiled at all.
There are some bat2exe tools which generate something like a self-extracting archive or an installer. But if you execute the resulting exe it does nothing but extracting your origin source code into the %temp% folder and runs the file there. For that reason everybody can read the password too. There is no useful possibility to hide the batch content.
Regards
aGerman
There are some bat2exe tools which generate something like a self-extracting archive or an installer. But if you execute the resulting exe it does nothing but extracting your origin source code into the %temp% folder and runs the file there. For that reason everybody can read the password too. There is no useful possibility to hide the batch content.
Regards
aGerman
Re: How to compile batch scripts into .exe
aGerman,
I can see what you mean.
Thank you anyway
Regards,
Rileyh
I can see what you mean.
Thank you anyway
Regards,
Rileyh