WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Compiler
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Compiled Size of EXE Compared to WBT

Keywords:   Compiled Winbatch Script Size

Question:

I'm wondering about compiled program size...

Answer:

The compiler has two main options:
  1. BIG EXE

    About the same size as WINBATCH.EXE + WIL DLL (WBD__44I.DLL) + .WBT source code minus a smidgen.

    Around 1.24 MB.

  2. SMALL EXE

    About the same size as WINBATCH.EXE plus your *.WBT source code (minus a smidgen).

    About 144 KB.

    Requires presence of WIL DLL (WBD__44I.DLL).

    About 1.10 MB.

And if you have multiple modules calling each other, you have the choice of using multiple .EXEs (you only need one copy of the .DLL if the .EXEs are in the same directory and you choose Small EXE to compile with),

or you can call Encoded Callable Modules (.WBC files), which must be called from a compiled .EXE and can be thought of as a compiled .EXE but dependent on another compiled .EXE. The size of .WBC files is between 50 and 90% of the source code. .


Article ID:   W12773
Filename:   Compiled EXE Size Compared to WBT.txt
File Created: 2012:10:29:10:31:24
Last Updated: 2012:10:29:10:31:24