Batcomp Encryption Error

#1
I'm getting an 'Invalid batch file' error whenever I use batcomp to encrypt a script using TCC 11.00.33 x64. Also failed for TCC 11.00.32 x64.

Works fine if I use 4NT 8.02.106.
I'm running Win 7 64 bit.

Example:

[M:\Dev\BTM]batcomp hello.btm hello_comp.btm
Compressing M:\Dev\BTM\hello.btm to M:\Dev\BTM\hello_comp.btm
Compression completed; file compressed to 166% of original size
Warning: BATCOMP is not effective at compressing small files!

[M:\Dev\BTM]hello_comp.btm
Hello, World

[M:\Dev\BTM]batcomp /Ekey hello.btm hello_encrypted.btm
Compressing M:\Dev\BTM\hello.btm to M:\Dev\BTM\hello_encrypted.btm
Compression completed; file compressed to 166% of original size

[M:\Dev\BTM]hello_encrypted.btm
TCC: M:\Dev\BTM\hello_encrypted.btm [0] Invalid batch file
 
#2
Same thing here.

TCC 11.00.33 Windows XP [Version 5.1.2600]
TCC Build 33 Windows XP Build 2600 Service Pack 3

D:\>echo echo Hello world > hello.btm

D:\>batcomp /Ekey hello.btm hello_encrypted.btm

Compressing D:\hello.btm to D:\hello_encrypted.btm
Compression completed; file compressed to 250% of original size

D:\>hello_encrypted.btm
TCC: D:\hello_encrypted.btm [0] Invalid batch file

This works.

TCC 10.00.76 Windows XP [Version 5.1.2600]
TCC Build 76 Windows XP Build 2600 Service Pack 3


On Wed, Nov 18, 2009 at 4:05 PM, djgibson <> wrote:

> I'm getting an 'Invalid batch file' error whenever I use batcomp to encrypt a script using TCC 11.00.33 x64. Also failed for TCC 11.00.32 x64.
>
> Works fine if I use 4NT 8.02.106.
> I'm running Win 7 64 bit.
>
> Example:
>
> [M:\Dev\BTM]batcomp hello.btm hello_comp.btm
> Compressing M:\Dev\BTM\hello.btm to M:\Dev\BTM\hello_comp.btm
> Compression completed; file compressed to 166% of original size
> Warning: BATCOMP is not effective at compressing small files!
>
> [M:\Dev\BTM]hello_comp.btm
> Hello, World
>
> [M:\Dev\BTM]batcomp /Ekey hello.btm hello_encrypted.btm
> Compressing M:\Dev\BTM\hello.btm to M:\Dev\BTM\hello_encrypted.btm
> Compression completed; file compressed to 166% of original size
>
> [M:\Dev\BTM]hello_encrypted.btm
> TCC: M:\Dev\BTM\hello_encrypted.btm [0] *Invalid batch file
>
>
>
>
>


--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.
 
#3
Additional info.

The problem is in the running of the encrypted btm file, not in the encryption itself.

Proven by running encrypted scripts created by v11 and v8, using v8.