Computer Hope

Microsoft => Microsoft DOS => Topic started by: EchoLdrWolf316 on August 25, 2008, 06:02:19 PM

Title: .bat to .exe
Post by: EchoLdrWolf316 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
Title: Re: .bat to .exe
Post by: fireballs 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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.
Title: Re: .bat to .exe
Post by: fireballs on August 25, 2008, 06:08:32 PM
http://www.hollmen.dk/articles/batch.htm (http://www.hollmen.dk/articles/batch.htm)

FB
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 on August 25, 2008, 06:12:15 PM
http://www.hollmen.dk/articles/batch.htm (http://www.hollmen.dk/articles/batch.htm)

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

Title: Re: .bat to .exe
Post by: fireballs on August 25, 2008, 06:14:58 PM
buggery......
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 on August 25, 2008, 06:15:48 PM
buggery......
:-\

Title: Re: .bat to .exe
Post by: fireballs 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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 (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?
Title: Re: .bat to .exe
Post by: fireballs 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/ (http://www.abyssmedia.com/quickbfc/)

FB
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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/ (http://www.abyssmedia.com/quickbfc/)

FB

keeps saying broken link  :-\
Title: Re: .bat to .exe
Post by: fireballs 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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 (http://www.savefile.com) and give me the link?
Title: Re: .bat to .exe
Post by: fireballs 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 (http://www.mediafire.com/?sharekey=d4d666f83e4aabb7d2db6fb9a8902bda)

FB
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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 (http://www.mediafire.com/?sharekey=d4d666f83e4aabb7d2db6fb9a8902bda)

FB
lol, thank-you, i'll run a couple scans on it  :P
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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"


Title: Re: .bat to .exe
Post by: fireballs 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 on August 25, 2008, 07:07:14 PM
well then whats the error  ??? :'(
Title: Re: .bat to .exe
Post by: fireballs 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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
Title: Re: .bat to .exe
Post by: fireballs 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 on August 25, 2008, 07:24:55 PM
it converted.....but it  still gives me an error  :'(
Title: Re: .bat to .exe
Post by: fireballs on August 25, 2008, 07:32:19 PM
sorry my friend can't help you any more.

FB
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 on August 25, 2008, 07:38:10 PM
ok
Title: Re: .bat to .exe
Post by: fireballs 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
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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
Title: Re: .bat to .exe
Post by: Carbon Dudeoxide 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.
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 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
Title: Re: .bat to .exe
Post by: Sky Ninja on August 26, 2008, 05:16:10 PM
There's one right here on Computer Hope.
http://www.computerhope.com/download/utility/Bat_To_Exe_Converter.zip
Title: Re: .bat to .exe
Post by: Carbon Dudeoxide on August 27, 2008, 03:09:39 AM
There's one right here on Computer Hope.
http://www.computerhope.com/download/utility/Bat_To_Exe_Converter.zip
That one.....is pretty old....
Title: Re: .bat to .exe
Post by: Sky Ninja 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!
Title: Re: .bat to .exe
Post by: Carbon Dudeoxide on August 28, 2008, 02:50:42 AM
Same program as you have been trying?
Title: Re: .bat to .exe
Post by: Sky Ninja on August 30, 2008, 12:43:11 AM
Same program as hosted here on Computer Hope.
Title: Re: .bat to .exe
Post by: Carbon Dudeoxide on August 30, 2008, 12:48:19 AM
They're different.
Title: Re: .bat to .exe
Post by: Sky Ninja 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.
Title: Re: .bat to .exe
Post by: Carbon Dudeoxide on August 30, 2008, 09:53:49 PM
Oh......Darn.  >:(

I guess I need some updating.....
Title: Re: .bat to .exe
Post by: EchoLdrWolf316 on August 31, 2008, 08:44:23 AM
Oh......Darn.  >:(

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