|Most of the batch to exe programs I've seen simply embed the script as a resource within a template executable file, or they add it as a compressed file on the end of a template executable. (You can find out which yours does by attempting to open the executable file in 7-zip or a resource editor.) In either case, they unpack and run the script as you would before "compiling." |
So to answer your question, you can't unless the program allows you to do so (and none of them do, because batch is incapable of understanding of GUIs). The best you can hope for is a converter that runs your script without evoking a console window.
How To Ask Questions The Smart Way