Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: .bat to .exe  (Read 19577 times)

0 Members and 1 Guest are viewing this topic.

EchoLdrWolf316

    Topic Starter


    Intermediate

  • Don't worry, Javascript is just Flash on speeeeed.
    .bat to .exe
    « on: August 25, 2008, 06:02:19 PM »
    I need a WORKING program to convert a .bat file to a .exe file so i can put it into an msi.

    ..and to show i'm not making a virus, here is the .bat code
    Code: [Select]
    @echo off
    title Macilizer
    echo Macilizer starting...
    ping -n 1 -w 2000 1.1.1.1 >nul
    echo Initializing...
    ping -n 1 -w 500 1.1.1.1 >nul
    Choice /M "Do You Want To Run Mac Look-Alike Programs?"

    If %errorlevel% EQU 2 goto no
    If %errorlevel% EQU 1 goto yes

    :yes
    echo Starting Battery Meter
    ping -n 1 -w 2000 1.1.1.1 >nul
    start "" "C:\Program Files\Macilizer\Battery Meter\Mioplanet Battery Meter.exe"
    echo Starting Konfablator
    ping -n 1 -w 2000 1.1.1.1 >nul
    start "" "C:\Program Files\Macilizer\Pixoria\Konfabulator\YahooWidgets.exe"
    echo Starting Object Dock
    ping -n 1 -w 2000 1.1.1.1 >nul
    start "" "C:\Program Files\Macilizer\Stardock\ObjectDock\ObjectDock.exe"
    ping -n 1 -w 2000 1.1.1.1 >nul
    echo Exiting....
    ping -n 1 -w 2000 1.1.1.1 >nul
    exit

    :no
    echo Exiting....
    ping -n 1 -w 2000 1.1.1.1 >nul
    exit

    fireballs



      Apprentice

    • Code:Terminal
    • Thanked: 3
      Re: .bat to .exe
      « Reply #1 on: August 25, 2008, 06:07:10 PM »
      i use a file called batchcompiler.exe (surprisingly) but i can't remember where i downloaded it from! i'll have a quick check.

      :EDIT that doesn't exactly prove alot...

      FB
      Next time google it.

      EchoLdrWolf316

        Topic Starter


        Intermediate

      • Don't worry, Javascript is just Flash on speeeeed.
        Re: .bat to .exe
        « Reply #2 on: August 25, 2008, 06:07:54 PM »
        ok, thank-you

        EDIT: if you want to convert it for me, then send it back to make sure i'm not using the program for malicious software, you can, the source code is above.

        fireballs



          Apprentice

        • Code:Terminal
        • Thanked: 3
          Re: .bat to .exe
          « Reply #3 on: August 25, 2008, 06:08:32 PM »
          Next time google it.

          EchoLdrWolf316

            Topic Starter


            Intermediate

          • Don't worry, Javascript is just Flash on speeeeed.
            Re: .bat to .exe
            « Reply #4 on: August 25, 2008, 06:12:15 PM »
            http://www.hollmen.dk/articles/batch.htm

            FB
            ::) According to Norton Internet Security 2008, that file is a trojan horse  ::)


            fireballs



              Apprentice

            • Code:Terminal
            • Thanked: 3
              Re: .bat to .exe
              « Reply #5 on: August 25, 2008, 06:14:58 PM »
              buggery......
              Next time google it.

              EchoLdrWolf316

                Topic Starter


                Intermediate

              • Don't worry, Javascript is just Flash on speeeeed.
                Re: .bat to .exe
                « Reply #6 on: August 25, 2008, 06:15:48 PM »

                fireballs



                  Apprentice

                • Code:Terminal
                • Thanked: 3
                  Re: .bat to .exe
                  « Reply #7 on: August 25, 2008, 06:18:03 PM »
                  lol well i use AVG 8 and it hasn't pulled batchcompiler.exe up at all. Plus i've had no problems since downloading it... but if you're in doubt don't download it. search google for a free batch compiler.

                  FB
                  Next time google it.

                  EchoLdrWolf316

                    Topic Starter


                    Intermediate

                  • Don't worry, Javascript is just Flash on speeeeed.
                    Re: .bat to .exe
                    « Reply #8 on: August 25, 2008, 06:20:51 PM »
                    lol well i use AVG 8 and it hasn't pulled batchcompiler.exe up at all. Plus i've had no problems since downloading it... but if you're in doubt don't download it. search google for a free batch compiler.

                    FB
                    :-[ i tried, i keep finding this http://www.download.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html which doesn't do anything, you set it up, then when you hit convert, nothing is created, the window just resets................................. .............
                    is there an option to open a .bat and save it as a .exe in Microsoft Visual Basic?

                    fireballs



                      Apprentice

                    • Code:Terminal
                    • Thanked: 3
                      Re: .bat to .exe
                      « Reply #9 on: August 25, 2008, 06:26:48 PM »
                      I've no idea i've never used it.

                      how about this: http://www.abyssmedia.com/quickbfc/

                      FB
                      Next time google it.

                      EchoLdrWolf316

                        Topic Starter


                        Intermediate

                      • Don't worry, Javascript is just Flash on speeeeed.
                        Re: .bat to .exe
                        « Reply #10 on: August 25, 2008, 06:29:38 PM »
                        I've no idea i've never used it.

                        how about this: http://www.abyssmedia.com/quickbfc/

                        FB

                        keeps saying broken link  :-\

                        fireballs



                          Apprentice

                        • Code:Terminal
                        • Thanked: 3
                          Re: .bat to .exe
                          « Reply #11 on: August 25, 2008, 06:35:49 PM »
                          try searching sourceforge or any other open source software repositories.

                          btw love the title... "macilizer" lol

                          FB
                          Next time google it.

                          EchoLdrWolf316

                            Topic Starter


                            Intermediate

                          • Don't worry, Javascript is just Flash on speeeeed.
                            Re: .bat to .exe
                            « Reply #12 on: August 25, 2008, 06:36:28 PM »
                            try searching sourceforge or any other open source software repositories.

                            btw love the title... "macilizer" lol

                            FB
                            ;D lol, ill try sourceforge

                            EchoLdrWolf316

                              Topic Starter


                              Intermediate

                            • Don't worry, Javascript is just Flash on speeeeed.
                              Re: .bat to .exe
                              « Reply #13 on: August 25, 2008, 06:48:49 PM »
                              nothing  :-[, can you take the source code above, convert it to a .exe, and upload it to www.savefile.com and give me the link?

                              fireballs



                                Apprentice

                              • Code:Terminal
                              • Thanked: 3
                                Re: .bat to .exe
                                « Reply #14 on: August 25, 2008, 06:56:16 PM »
                                scan it for viruses, don't run it if there's anything suspicious about it! I won't take any reponsibility for any damage to your system. (I resisted the BIG temptation to inset "compiled by fireballs" :P

                                http://www.mediafire.com/?sharekey=d4d666f83e4aabb7d2db6fb9a8902bda

                                FB
                                Next time google it.

                                EchoLdrWolf316

                                  Topic Starter


                                  Intermediate

                                • Don't worry, Javascript is just Flash on speeeeed.
                                  Re: .bat to .exe
                                  « Reply #15 on: August 25, 2008, 06:57:03 PM »
                                  scan it for viruses, don't run it if there's anything suspicious about it! I won't take any reponsibility for any damage to your system. (I resisted the BIG temptation to inset "compiled by fireballs" :P

                                  http://www.mediafire.com/?sharekey=d4d666f83e4aabb7d2db6fb9a8902bda

                                  FB
                                  lol, thank-you, i'll run a couple scans on it  :P

                                  EchoLdrWolf316

                                    Topic Starter


                                    Intermediate

                                  • Don't worry, Javascript is just Flash on speeeeed.
                                    Re: .bat to .exe
                                    « Reply #16 on: August 25, 2008, 06:59:38 PM »
                                     :'( :'( :'( :'( :'( :'( it doesn't run  :'( :'( :'( :'( :'(

                                    "Eception EFCreateError in module test_for_echoldrwolf.exe at 0009FDF. Cannot create file  C:\Windows\Temp\WBCS.bat"



                                    fireballs



                                      Apprentice

                                    • Code:Terminal
                                    • Thanked: 3
                                      Re: .bat to .exe
                                      « Reply #17 on: August 25, 2008, 07:05:59 PM »
                                      well this is odd, i just ran it on my system and it ran fine.... so i checked out c:\windows\temp\WBCS.bat and it's an exct copy of your batch file... presumably all the compiler does it copy the code into a batch file and run that :S

                                      FB
                                      Next time google it.

                                      EchoLdrWolf316

                                        Topic Starter


                                        Intermediate

                                      • Don't worry, Javascript is just Flash on speeeeed.
                                        Re: .bat to .exe
                                        « Reply #18 on: August 25, 2008, 07:07:14 PM »
                                        well then whats the error  ??? :'(

                                        fireballs



                                          Apprentice

                                        • Code:Terminal
                                        • Thanked: 3
                                          Re: .bat to .exe
                                          « Reply #19 on: August 25, 2008, 07:08:50 PM »
                                          i'm not sure but it may rely on the batchcompiler.exe to help it? i'm out of my depth in terms of programming here...

                                          Freeware, you get what you pay for.

                                          FB
                                          Next time google it.

                                          EchoLdrWolf316

                                            Topic Starter


                                            Intermediate

                                          • Don't worry, Javascript is just Flash on speeeeed.
                                            Re: .bat to .exe
                                            « Reply #20 on: August 25, 2008, 07:15:42 PM »
                                            well, its seems that the danish version of that program is virus-free......but i cant read it  :-\, idk where the export button is

                                            fireballs



                                              Apprentice

                                            • Code:Terminal
                                            • Thanked: 3
                                              Re: .bat to .exe
                                              « Reply #21 on: August 25, 2008, 07:19:41 PM »
                                              i can run you through the menus, and we can hope that it's the same layout....

                                              first menu on the left (files)> second one down(load batch file).

                                              should bring up a dialogue box to open your batch file.

                                              second menu from the left (functions)> third one down(compile batch-file)

                                              will come up with a progress bar.

                                              The .exe file is in the same place as the batchcompiler.exe and called the same as the batch file.

                                              FB
                                              Next time google it.

                                              EchoLdrWolf316

                                                Topic Starter


                                                Intermediate

                                              • Don't worry, Javascript is just Flash on speeeeed.
                                                Re: .bat to .exe
                                                « Reply #22 on: August 25, 2008, 07:24:55 PM »
                                                it converted.....but it  still gives me an error  :'(

                                                fireballs



                                                  Apprentice

                                                • Code:Terminal
                                                • Thanked: 3
                                                  Re: .bat to .exe
                                                  « Reply #23 on: August 25, 2008, 07:32:19 PM »
                                                  sorry my friend can't help you any more.

                                                  FB
                                                  Next time google it.

                                                  EchoLdrWolf316

                                                    Topic Starter


                                                    Intermediate

                                                  • Don't worry, Javascript is just Flash on speeeeed.
                                                    Re: .bat to .exe
                                                    « Reply #24 on: August 25, 2008, 07:38:10 PM »
                                                    ok

                                                    fireballs



                                                      Apprentice

                                                    • Code:Terminal
                                                    • Thanked: 3
                                                      Re: .bat to .exe
                                                      « Reply #25 on: August 25, 2008, 07:39:02 PM »
                                                      btw i just finished scanning my computer using AVG 8 and it didn't bat (no pun intended) an eyelid at batchcompiler.exe. still i wouldn't recommend it is your not sure.

                                                      FB
                                                      Next time google it.

                                                      EchoLdrWolf316

                                                        Topic Starter


                                                        Intermediate

                                                      • Don't worry, Javascript is just Flash on speeeeed.
                                                        Re: .bat to .exe
                                                        « Reply #26 on: August 25, 2008, 07:43:36 PM »
                                                        btw i just finished scanning my computer using AVG 8 and it didn't bat (no pun intended) an eyelid at batchcompiler.exe. still i wouldn't recommend it is your not sure.

                                                        FB

                                                        yes, i already got rid of it

                                                        Carbon Dudeoxide

                                                        • Global Moderator

                                                        • Mastermind
                                                        • Thanked: 169
                                                          • Yes
                                                          • Yes
                                                          • Yes
                                                        • Certifications: List
                                                        • Experience: Guru
                                                        • OS: Mac OS
                                                        Re: .bat to .exe
                                                        « Reply #27 on: August 26, 2008, 03:57:58 AM »
                                                        Ok here we go, guys.  :D

                                                        http://www.fileupyours.com/view/191176/Bat_To_Exe_Converter.zip
                                                        [Note - Fileupyours.com is my filehosting site.]

                                                        That's something i've used for years. You can add additional information like file version and author.
                                                        Also, you can add your own to the .exe file.

                                                        Kaspersky detects it as a trojan but I thin it's because it is trying to make an unknown application.
                                                        Haven't had any problems with this.

                                                        EchoLdrWolf316

                                                          Topic Starter


                                                          Intermediate

                                                        • Don't worry, Javascript is just Flash on speeeeed.
                                                          Re: .bat to .exe
                                                          « Reply #28 on: August 26, 2008, 09:49:41 AM »
                                                           :( where is it putting the new .exe  ???


                                                          EDIT:  :) nevermind, its works. i had to save it to the desktop as it wont let me save into program-files  ;D
                                                          « Last Edit: August 26, 2008, 10:06:38 AM by EchoLdrWolf316 »

                                                          Sky Ninja



                                                            Rookie

                                                          • *headdesk*
                                                            Re: .bat to .exe
                                                            « Reply #29 on: August 26, 2008, 05:16:10 PM »

                                                            Carbon Dudeoxide

                                                            • Global Moderator

                                                            • Mastermind
                                                            • Thanked: 169
                                                              • Yes
                                                              • Yes
                                                              • Yes
                                                            • Certifications: List
                                                            • Experience: Guru
                                                            • OS: Mac OS
                                                            Re: .bat to .exe
                                                            « Reply #30 on: August 27, 2008, 03:09:39 AM »

                                                            Sky Ninja



                                                              Rookie

                                                            • *headdesk*
                                                              Re: .bat to .exe
                                                              « Reply #31 on: August 27, 2008, 11:04:51 PM »
                                                              Well, works absolutely perfect for me.
                                                              EDIT:
                                                              http://www.fileupyours.com/view/191176/Bat_To_Exe_Converter.zip
                                                              [Note - Fileupyours.com is my filehosting site.]
                                                              That's the same program!

                                                              Carbon Dudeoxide

                                                              • Global Moderator

                                                              • Mastermind
                                                              • Thanked: 169
                                                                • Yes
                                                                • Yes
                                                                • Yes
                                                              • Certifications: List
                                                              • Experience: Guru
                                                              • OS: Mac OS
                                                              Re: .bat to .exe
                                                              « Reply #32 on: August 28, 2008, 02:50:42 AM »
                                                              Same program as you have been trying?

                                                              Sky Ninja



                                                                Rookie

                                                              • *headdesk*
                                                                Re: .bat to .exe
                                                                « Reply #33 on: August 30, 2008, 12:43:11 AM »
                                                                Same program as hosted here on Computer Hope.

                                                                Carbon Dudeoxide

                                                                • Global Moderator

                                                                • Mastermind
                                                                • Thanked: 169
                                                                  • Yes
                                                                  • Yes
                                                                  • Yes
                                                                • Certifications: List
                                                                • Experience: Guru
                                                                • OS: Mac OS
                                                                Re: .bat to .exe
                                                                « Reply #34 on: August 30, 2008, 12:48:19 AM »
                                                                They're different.

                                                                Sky Ninja



                                                                  Rookie

                                                                • *headdesk*
                                                                  Re: .bat to .exe
                                                                  « Reply #35 on: August 30, 2008, 03:37:00 PM »
                                                                  Your right. The bat_to_exe.exe hosted on Computer Hope is newer. You linked to version 1.3. Computer Hope is hosting 1.4.

                                                                  Carbon Dudeoxide

                                                                  • Global Moderator

                                                                  • Mastermind
                                                                  • Thanked: 169
                                                                    • Yes
                                                                    • Yes
                                                                    • Yes
                                                                  • Certifications: List
                                                                  • Experience: Guru
                                                                  • OS: Mac OS
                                                                  Re: .bat to .exe
                                                                  « Reply #36 on: August 30, 2008, 09:53:49 PM »
                                                                  Oh......Darn.  >:(

                                                                  I guess I need some updating.....

                                                                  EchoLdrWolf316

                                                                    Topic Starter


                                                                    Intermediate

                                                                  • Don't worry, Javascript is just Flash on speeeeed.
                                                                    Re: .bat to .exe
                                                                    « Reply #37 on: August 31, 2008, 08:44:23 AM »
                                                                    Oh......Darn.  >:(

                                                                    I guess I need some updating.....
                                                                    :P ::)