Link to home
Start Free TrialLog in
Avatar of Troutman
Troutman

asked on

Convert Batch File to Exe File

We are trying to convert a DOS batch file to an exe file.  The batch file is the following:

start "c:\program files\internet explorer\iexplore <internal URL>"

By clicking on the batch file it opens immediately to a specific internal IE page.  However, we need to make it into an exe and get that working.

We have tried these tools, but they haven't done the job:
bat2com
turbobat
bat2exe15

We are looking for a freeware tool that will do the job.

Thanks for your help,

Troutman
ASKER CERTIFIED SOLUTION
Avatar of KLOPEKS
KLOPEKS

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DavidJWalker
DavidJWalker

Would not a small program in Quick Basic 4.5, PDS7.1, or Power Basic something like:

chain "c:\program files\internet explorer\iexplore <internal URL>"

do?

you can hex edit bat2com and replace every com that you find with exe and then save it as bat2exe

me and a friend have done this and it worked for us.
Hi Troutman,

I just used bat2exe version 1.5 to do just that.

My batchfile in Win2K:
CMD /C START IEXPLORE https://www.experts-exchange.com/

pb
Avatar of Troutman

ASKER

Thanks KLOPEKS,

I tried the batch compiler and it worked very well.  Thank you everyone for your suggestions.

Troutman