1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Making a bat (exe) file

Discussion in 'General Programming Chat' started by laffe, Oct 6, 2008.

  1. laffe

    laffe Regular Member

    Joined:
    Jan 16, 2008
    Messages:
    210
    Likes Received:
    267
    Hi all.

    I have no programming experience so im turning to you.

    I want to make a bat file or an exe file.

    I want it to load a html page that is in the exe(bat) file and at the same time run an exe file that is also located inside the exe(bat) file.

    How do I do that?
     
  2. BlackSmack

    BlackSmack Junior Member

    Joined:
    Jul 13, 2008
    Messages:
    149
    Likes Received:
    47
    Occupation:
    Whale Tail Watcher
    Location:
    Uranus
    There's a program called HTML2EXE
    There is also a program called BATCH2EXE

    take your HTML and use HTML2EXE on it.

    Make a batch file that simply calls the EXE you just made AND the other EXE you want it to run

    Use Batch2EXE on the batch file.

    You will have 3 EXE files total.. The one you got from Batch2exe will execute the other 2.


    BTW: The batch file would like..

    File1.exe
    File2.exe
     
  3. 3kings

    3kings Newbie

    Joined:
    Sep 14, 2008
    Messages:
    38
    Likes Received:
    165
    Well I believe the easiest way to do this would be to convert the HTML document to EXE with HTML2EXE and bind it with your other EXE file. That way you get a bundle that executes your HTML first and then you EXE.