with a nice gui?
CMD or BAT to EXE compiler what is the best
#1
Posted 16 December 2004 - 08:16 PM
with a nice gui?
#2
Posted 19 December 2004 - 03:22 PM
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.
#3
Posted 19 December 2004 - 04:57 PM
Anyways, you have bat2com, (free) and QuickBatchFileCompiler (paid).
#4
Posted 19 December 2004 - 06:34 PM
hi gabriel, yes u can... it is called compiling.
prathapml
if i compile cmd or bat to EXE w/ like quickbatchfilecompiler
will it still show the cmd window?
thanks!
#5
Posted 19 December 2004 - 08:18 PM
Astalavista, on Dec 20 2004, 06:04 AM, said:
#6
Posted 16 February 2005 - 07:14 AM
#7
Posted 16 February 2005 - 03:13 PM
Astalavista, on Dec 19 2004, 06:34 PM, said:
hi gabriel, yes u can... it is called compiling.
prathapml
if i compile cmd or bat to EXE w/ like quickbatchfilecompiler
will it still show the cmd window?
thanks!
<{POST_SNAPBACK}>
i think you can do it so no window is shown through an option called ghosting
im not sure which application it is though
#8
Posted 16 February 2005 - 11:24 PM
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......
#9
Posted 27 June 2006 - 11:39 AM
prathapml, on Dec 20 2004, 04:18 AM, said:
Astalavista, on Dec 20 2004, 06:04 AM, said:
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
This post has been edited by ZileXa: 27 June 2006 - 11:40 AM
#10
Posted 27 June 2006 - 06:21 PM
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.
#11
Posted 27 June 2006 - 06:55 PM
http://www.autoitscript.com/autoit3/
-John
#12
Posted 28 June 2006 - 04:46 AM
jftuga, on Jun 27 2006, 07:55 PM, said:
http://www.autoitscript.com/autoit3/
-John
Quote
#13
Posted 28 June 2006 - 06:11 AM
- 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
BATCH2EXE
http://www.savefile.....php?pid=423945
This post has been edited by ZileXa: 28 June 2006 - 09:20 AM
#14
Posted 28 June 2006 - 08:57 AM
EDIT - Nevermind... it came through... 45 seconds later. Here's a mirror.
#15
Posted 28 June 2006 - 12:40 PM
#16
Posted 28 August 2008 - 11:46 AM
sorry to use that old thread. :-)
Looking for a cmd to exe compiler that creates 64bit executables. QuickBFC doesnīt seem to do that.
Any other ideas ?
Thanks,
Alex
#17
Posted 02 September 2008 - 01:15 AM
#18
Posted 02 September 2008 - 05:50 AM
#19
Posted 02 September 2008 - 06:40 AM
I tell you why a 64bit compiler would be necessary. I am starting WPI from a batch file that checks for the existence of a network share and maps that share if it exists. Since it includes credentials I donīt want the script to be easily readable hence the conversion to an exe.
Now, the new WPI version 7.1 allows for 64bit processing, meaning, you can control if the 64bit cmd.exe/regedit.exe is being used on a 64bit system or the 32bit cmd.exe/regedit.exe. However, you need WPI to run with the 64bit mshta.exe in order for this to work.
You need this to silently add the serial numbers or configs etc. for an application via a "regedit /S reg.reg" command. If the application is 64bit it needs its registry settings in another place in the registry than a 32bit application on a 64bit system.
Now, the problem is: If WPI or any other application is started from a 32bit application, it will never be able to use the 64bit cmd.exe/regedit/mshta.exe. Even if you specify the correct path to the 64bit application, redirection will occur and the 32bit version of the program will be started.
It took me days to find out why WPI was always started with the 32bit mshta.exe. I finally figured that the reason for this was the 32bit compiled exe.
So on a 64bit system, in order to avoid folder redirection or registry redirection with your compiled scripts , you need a 64bit exe.
Bye,
Alex



Help

Back to top









