LARGE .exe filesize! 250 Bytes .bat to 146 KB .exe - Other tools create lot smaller output!

Convert your BATch files into EXEcutable format in one click.
ZileXa
Posts: 2
Joined: Tue Jun 27, 2006 5:43 pm

Post by ZileXa »

Hi, I would like to know why the .exe file becomes 146KB.
The file I am converting only has 14 lines, 250 bytes.
The .exe file is 73x bigger then it is suppose to be.. because:

When I use ExeScript, the .exe file is 8.6KB.
When using commandline tools like bat2com and bat2exec, the .exe file is just 2KB!
So it seems Quick Batchfile Converter puts A LOT of junk in the exe file. Why?
Oleg Tsheglov
Site Admin
Posts: 307
Joined: Fri Feb 13, 2004 5:55 pm

Post by Oleg Tsheglov »

Well, good question!

Did you know how it work?

1. bat2exe is rare DOS application and support only MS-DOS/Win95 commands
It can create only 16-bit applications, using assembler.

2. ExeScript from my good friends (everstrike.com) just combine tiny loader with script text
into single EXE file.

3. QBFC offer much more features, it included encryption module for protecting script source (Blowfish algorithm),
compression module for included files (LZH algorithm), application resources (icons, version info).

Please take a look on compression and encryption software - most of applications have a bigger size!
ZileXa
Posts: 2
Joined: Tue Jun 27, 2006 5:43 pm

Post by ZileXa »

OK but, I don't need encryption... everyone may check out the batchfile..

Please check out this:

It creates smaller files, allows icons and other files to be included.

Just got the idea last night.

The 7zSD.sfx module is from Oleg_Sch, I am not Russian, but perhaps you know Russian, here is his site:




Edited By ZileXa on 1151496486
Oleg Tsheglov
Site Admin
Posts: 307
Joined: Fri Feb 13, 2004 5:55 pm

Post by Oleg Tsheglov »

everyone may check out the batchfile..
Hmmm...,yes this is correct for current version. Only for current version :-)

We working on ne new version very long time, it will create exe files with same size,
but will contain our own scripting engine. No one can't see encrypted content.

Another reason - we uses Borland Delphi and this compiler can not create small exe files.
DJX
Posts: 12
Joined: Thu Jan 04, 2007 11:19 pm
Location: Cleveland, Ohio

Post by DJX »

I've noticed that too. And when I put extra resources (Company, Copyright, Internal Name, ETC...) using a PE Explorer, it render's the file down a few bytes. I think the main reason is just plain junk and the reversible encryption (Decompilation information).
support
Site Admin
Posts: 476
Joined: Fri Feb 13, 2004 1:05 pm

Post by support »

Not right.
Total size of resources inside compiled exe file 24884 bytes.
This includes "version info", "application icon"...
jsmcpn
Posts: 2
Joined: Thu Aug 30, 2007 9:48 pm
Location: Colorado

Post by jsmcpn »

2. ExeScript from my good friends (everstrike.com) just combine tiny loader with script text
into single EXE file.

3. QBFC offer much more features, it included encryption module for protecting script source (Blowfish algorithm),
compression module for included files (LZH algorithm), application resources (icons, version info).


Sorry to resurrect this old thread -
Question: Are there any plans for a future QBFC that will also support VBScript like ExeScript does?
support
Site Admin
Posts: 476
Joined: Fri Feb 13, 2004 1:05 pm

Post by support »

We are working on the new compiler for VBScript and Jscript files. It scheduled on 1 october 2007. All QBFC customers will get big discount for this new compiler.