I can think of several valid reasons to compile, or actually package scripts:
Note that some packagers (e.g. Perl2Exe) include a (copy of your) script interpreter in their executable, while others (e.g. Microsoft's Script Encoder) may still require an interpreter to be installed on the target system.
As for PowerLocker and Microsoft's Script Encoder, they aren't packagers or compilers, really.
I included them because they can hide source code from prying eyes, which is the most common reason for using a packager.
Don't use the script encoder to protect administrators' passwords, or rather: don't ever use administrators' passwords hardcoded in your scripts, after all there seem to be several script decoders around...
Also note that most anti-virus software doesn't "like" compiled scripts.
On my own computer, compiled scripts are the most common source of "false positives".
| Batch File Compilers | |||
|---|---|---|---|
| Product | Programmer / Manufacturer | Download | Purchase |
| Advanced Batch File Converter | Brandon Dargo | Free for personal use | |
| Advanced Batch File Compiler Professional Edition | Brandon Dargo | ||
| Use coupon code CBFC-78FE for a 15% discount on Batch File Compiler Pro | |||
| Bat To Exe Converter | Fatih Kodak | Free | |
| Bat To Exe Online Converter | Fatih Kodak | Free | |
| Bat2Exec | Doug Boling | Free | |
| BatLite | Pieter A. Hintjens | Free | |
| ExeScript | Hide Folder Software | ||
| IExpress | Microsoft | Native in XP | Free |
| PowerBatch | Computing Systems Design, Inc. | Shareware | |
| Quick Batch File Compiler | Abyssmedia.com | ||
| Note that batch compilers may not always understand all the magic you are performing in your batch files
(packagers use the standard interpreter, so no problem there, other than batch file compatibility with Windows versions).
Use standard commands only, if possible, and forget about undocumented DOS features. Advanced Batch File Converter, Batch File Compiler and Quick Batch File Compiler offer both Win32 and DOS6 compilation and handle NT's extended command switches very well, ExeScript (packager) can handle batch files for the default command interpreter (NT's CMD.EXE) only, and Bat2Exec, BatLite and PowerBatch are for "real" DOS only. I still need to test IExpress (most likely will require XP SP2 to run). |
|||
| Java Compilers | |||
| Product | Programmer / Manufacturer | Download | Purchase |
| JEXECreator | UCWare | ||
| JScript Compilers | |||
| Product | Programmer / Manufacturer | Download | Purchase |
| ExeScript | Hide Folder Software | ||
| Script Encoder | Microsoft | Free (validation required) |
|
| ScriptCryptor | Abyssmedia.com | ||
| KiXtart Compilers | |||
| Product | Programmer / Manufacturer | Download | Purchase |
| Kix2Exe | Senser | Free | |
| Perl Compilers | |||
| Product | Programmer / Manufacturer | Download | Purchase |
| Perl2Exe | IndigoStar Software | ||
| PowerShell Encrypters | |||
| Product | Programmer / Manufacturer | Download | Purchase |
| PowerLocker Community version | PowerLocker | Free (if you deselect the CD in the order form) |
|
| PowerLocker Pro | PowerLocker | ||
| Rexx Compilers | |||
| Product | Programmer / Manufacturer | Download | Purchase |
| Open Object Rexx | ooRexx.org | Royalty-free (CPL v1.0) |
|
| Rexx/Wrapper | SourceForge.net | Free (GNU GPL) |
|
| Rexx2Exe (for OS/2) | Dennis Bareis | Free | |
| Rexx_Exe (for OS/2) | Veit Kannegieser | Free | |
| REXXCC (for OS/2) | Bernd Schemmer | Free | |
| RXCLS (for OS/2) | Steven Higgins | Shareware | |
| VBScript Compilers | |||
| Product | Programmer / Manufacturer | Download | Purchase |
| ExeScript | Hide Folder Software | ||
| IExpress | Microsoft | Native in XP | Free |
| Script Encoder | Microsoft | Free (validation required) |
|
| ScriptCryptor | Abyssmedia.com | ||
| Vb Script to EXE Converter | A. Sabry | Free | |
| Vb Script to EXE Online Converter | A. Sabry | Free | |
| VBS2CMD | Denis St-Pierre | Free | |
| Vbs2Exe | Enkeladress.com | ||
| VBScript2Exe | Studio Catapano | ||
| unique visitors since July 2007 | page last uploaded: 31 May 2010, 08:22 |