I am currently working on a project, I have developed a batch code that calls various other .vbs files and .HTA file as well.
I have used iexpress.exe tool built-in in windows to convert all these files to a single EXE that can run with ease on all computers in my environment.
The problem is running said EXE extracts all the batch and vbs files in temporary folder with the code in clear text for anyone to grab. Me being protective of my work, I would not like the code to be available for anyone to copy during execution from the temporary folder of any machine where that EXE is running.
Is there anyway or tool that can combine all the files into a single EXE and would run the EXE silently and invisibly (not in the temp folder).
I tried many tools out there but all seem to do the same behavior.
Thanks in advance.
This is not possible.
Batch is an interpreted language, which means that at some point, the script must end up in a state where cmd.exe
can read and execute it. If it can be read by the interpreter, it can be read by the user. The only way to avoid having your source code read is to use a different language that can be compiled, like C.