Astalavista Posted December 17, 2004 Posted December 17, 2004 what is the best CMD or BAT to EXE compiler.with a nice gui?
gabriel_buc Posted December 19, 2004 Posted December 19, 2004 As far as I know CMD and BAT files cannot be compiled into EXEs !BAT files contain a number of DOS commmands that are executed when the file runs.CMD files are something similar.I don't know exactly the difference between the two of them.
prathapml Posted December 19, 2004 Posted December 19, 2004 This really is the fourth such thread in the last two weeks. Forgot to search, eh? Anyways, you have bat2com, (free) and QuickBatchFileCompiler (paid).
Astalavista Posted December 20, 2004 Author Posted December 20, 2004 omg i broke the cardinal rule of not searching.hi gabriel, yes u can... it is called compiling. prathapmlif i compile cmd or bat to EXE w/ like quickbatchfilecompilerwill it still show the cmd window?thanks!
prathapml Posted December 20, 2004 Posted December 20, 2004 will it still show the cmd window?If compiled with the freeware tool I have, no CMD window is shown. I don't know for sure about QBFC - I heard of it only recently, I haven't tested with it (but since its commercial, gotta be for a good reason ).
dazkrlauwste Posted February 16, 2005 Posted February 16, 2005 Is there a way to revert an exe that has been made by QBFC to it's origrinal form, BAT or CMD?
lilweirddude Posted February 16, 2005 Posted February 16, 2005 omg i broke the cardinal rule of not searching.hi gabriel, yes u can... it is called compiling. prathapmlif i compile cmd or bat to EXE w/ like quickbatchfilecompilerwill it still show the cmd window?thanks!<{POST_SNAPBACK}>i think you can do it so no window is shown through an option called ghostingim not sure which application it is though
syskplim Posted February 17, 2005 Posted February 17, 2005 i am using BAT2EXE to compile my BAT files and the output is .com but NOT .exe and i think there is no decompiler that can convert .com back to .bat.actually, if you sure that a com file was compiled from .bat, you can read that .com file by using a hex editor. i still can read what i've writen in a batch after i compiled it to com but a lot of bin code will be added into .com.After you compiled your batch into .com, that .com file will be same as other .com files which maybe compiled from Assembly or other programming. There is a tool can decompile .com back to .ASM files but not batch. Read this......
ZileXa Posted June 27, 2006 Posted June 27, 2006 (edited) will it still show the cmd window?If compiled with the freeware tool I have, no CMD window is shown. I don't know for sure about QBFC - I heard of it only recently, I haven't tested with it (but since its commercial, gotta be for a good reason ).Sorry for kicking such an OLD topic, I searched a lot but haven't found what I was looking for:I tried bat2com, bat2exec (also creates a COM file), quickbatchfilecompiler (shareware) and ExeScript (shareware but better).The first 2 both have the same thing: they DO show a black console window for a short time.With Quick Batchfile Compiler you can create an EXE that will run hidden.. but then the end file is 146KB.. that's like 73 times bigger then neccessary since bat2exec creates a file little over 2KB. ExeScript seems to to better: 8.50 KB AND allows the option to hide any window.. But I also know a file HIDE.EXE, it's only 1.60KB (!) and hides any batchfile that is run. My .cmd file is only 250 Bytes... So I was thinking to use the COPY /B option to merge those 2 together.. unfortunately that doesn't work, HIDE.EXE is started.. without any input.I was wondering if anyone knows other options, perhaps a different compiler or method.I added BAT2COM.com, BAT2EXEC.exe and HIDE.exe Edited June 27, 2006 by ZileXa
Zxian Posted June 28, 2006 Posted June 28, 2006 I just tried these out, and of the lot, I like ExeScript the best. The default EXE is 16kb in size however, but you can UPX that down to 8KB. I think that if you're not paranoid about the pop-up Window, then the freeware programs are the best. Otherwise, ExeScript seems to be the better of the payware versions.
jftuga Posted June 28, 2006 Posted June 28, 2006 Just as another option, especially if your batch file is not too long, you could always convert it into an AutoIt script, which can be compiled into a EXE file.http://www.autoitscript.com/autoit3/-John
LLXX Posted June 28, 2006 Posted June 28, 2006 Just as another option, especially if your batch file is not too long, you could always convert it into an AutoIt script, which can be compiled into a EXE file.http://www.autoitscript.com/autoit3/-JohnAutoIt is best for more extensive tasks, as the overhead it adds is absolutely astronomical.i am using BAT2EXE to compile my BAT files and the output is .com but NOT .exe and i think there is no decompiler that can convert .com back to .bat.I don't know the specifics of BAT2EXE, but most of the batch file "compilers" that exist simply add a (should be) small stub of code that just executes the commands in your batch file, which is appended to the stub, via spawning a shell. There is likely no BAT interpreter present (though 8Kb of code is more than enough to implement one).
ZileXa Posted June 28, 2006 Posted June 28, 2006 (edited) I just created a collection that allows you to:- Create an EXE file from your batchfiles- include ICON for the file- include other necessary files (DLL or stuff)The nice thing is: The output is smaller then QuickBatchfile.. perhaps it's even faster(I compress with 7z using FAST (since batchfile is only text, Ultra compression makes little difference) and after adding icon I UPX, checkout the HOWTO.txt BATCH2EXEhttp://www.savefile.com/projects.php?pid=423945 Edited June 28, 2006 by ZileXa
Zxian Posted June 28, 2006 Posted June 28, 2006 I can't seem to get through on that site. Did you want to possibly e-mail me the files, and then I can put them on a better mirror for you (and everyone else)?EDIT - Nevermind... it came through... 45 seconds later. Here's a mirror.
ZileXa Posted June 28, 2006 Posted June 28, 2006 Savefile is having problems with server07, think will be solved in a month.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now