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.
Post Reply
ZileXa
Posts: 2
Joined: Tue Jun 27, 2006 5:43 pm

Post by ZileXa » Tue Jun 27, 2006 5:49 pm

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: 309
Joined: Fri Feb 13, 2004 5:55 pm
Contact:

Post by Oleg Tsheglov » Wed Jun 28, 2006 12:52 am

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 » Wed Jun 28, 2006 12:06 pm

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

Please check out this:
http://www.savefile.com/projects.php?pid=423945
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:
http://7zsfx.solta.ru/



Edited By ZileXa on 1151496486

Oleg Tsheglov
Site Admin
Posts: 309
Joined: Fri Feb 13, 2004 5:55 pm
Contact:

Post by Oleg Tsheglov » Thu Jun 29, 2006 10:28 pm

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 » Wed Feb 28, 2007 3:30 pm

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: 399
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Wed Feb 28, 2007 11:52 pm

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 » Thu Aug 30, 2007 10:07 pm

Oleg Tsheglov wrote: 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).
quote]

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: 399
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Mon Sep 10, 2007 6:30 pm

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.

Post Reply