Results 1 to 10 of 10

Thread: Convert .bat to .exe

  1. #1
    Senior Member Falcon21's Avatar
    Join Date
    Dec 2002
    Location
    Singapore
    Posts
    252

    Question Convert .bat to .exe

    Any one know any good program or how to convert .bat files into .exe files?
    [gloworange]Falcon21[/gloworange]

  2. #2
    AO Ancient: Team Leader
    Join Date
    Oct 2002
    Posts
    5,197
    There used to be files around that would do this many years ago....... I haven't used one in years and think I last got one off an old bbs system.

    There's one here and if you do a google for bat2exe you'll find a lot more.

    Hope this helps
    Don\'t SYN us.... We\'ll SYN you.....
    \"A nation that draws too broad a difference between its scholars and its warriors will have its thinking done by cowards, and its fighting done by fools.\" - Thucydides

  3. #3
    Senior Member tampabay420's Avatar
    Join Date
    Aug 2002
    Posts
    953
    QBASIC 4.5 will do just fine... in fact- i love BASIC
    simply wrap "shell " around each batch line, it'l work...
    anyway- you can download many free version of BASIC/BASICa

    of course this can be done in C, Perl, etc... any programming suite that offers system shell...
    i'll look around , someone might offer a product that specifically does .bat>.exe conversions?

    /edit
    here we go, i found this in the link that TigerShark posted... http://nlsn.free.fr/batch-down/Bat2Exe.ZIP
    yeah, I\'m gonna need that by friday...

  4. #4
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    I came in to the world with nothing. I still have most of it.

  5. #5
    Senior Member Falcon21's Avatar
    Join Date
    Dec 2002
    Location
    Singapore
    Posts
    252
    Thanks a lot

  6. #6
    Senior Member Falcon21's Avatar
    Join Date
    Dec 2002
    Location
    Singapore
    Posts
    252
    Thanks a lot

  7. #7
    Senior Member
    Join Date
    Jun 2002
    Posts
    394
    dogey method:

    write the .bat file commands inside a program, say for example C++, create a file (which will be named "something.bat"), stream the .bat commands from the program to the file and call the file inside the program.

    warning: you may accidentally learn something by taking this approach, and the file may be quite big.
    Hmm...theres something a little peculiar here. Oh i see what it is! the sentence is talking about itself! do you see that? what do you mean? sentences can\'t talk! No, but they REFER to things, and this one refers directly-unambigeously-unmistakably-to the very sentence which it is!

  8. #8
    Senior Member
    Join Date
    Jun 2002
    Posts
    394
    dogey method:

    write the .bat file commands inside a program, say for example C++, create a file (which will be named "something.bat"), stream the .bat commands from the program to the file and call the file inside the program.

    warning: you may accidentally learn something by taking this approach, and the file may be quite big.
    Hmm...theres something a little peculiar here. Oh i see what it is! the sentence is talking about itself! do you see that? what do you mean? sentences can\'t talk! No, but they REFER to things, and this one refers directly-unambigeously-unmistakably-to the very sentence which it is!

  9. #9
    Or use perl
    system('c:/batch.bat');
    Next use perl2exe to create the executable.

  10. #10
    Or use perl
    system('c:/batch.bat');
    Next use perl2exe to create the executable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •