Batcomp Encryption Error

Sep 2, 2008
8
0
Scotland
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
 
May 20, 2008
603
0
Sammamish, WA
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.
 
Sep 2, 2008
8
0
Scotland
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.
 
Similar threads
Thread starter Title Forum Replies Date
wbiebel batcomp encryption Support 6
J Batcomp still not working for me in TCMD27 Support 1
C TCC 26 BATCOMP BTM problems? Support 5
Alpengreis Fixed BATCOMP /O does not work Support 1
D BATCOMP compression Support 12
M When is compilation ("BatComp") worthwhile? Support 3
Dan Glynhampton Fixed v15 sendmail : password encryption problem Support 18
Stefano Piccardi Why did Windows create an encryption key? Support 5
vefatica New 4UTILS, _ENVCOUNT fixed, some encryption Support 0
H V12 Zip encryption Support 1
C Copy (sys) error Support 3
T Error: This page can’t be displayed Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct. Support 8
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
samintz How to? Abort on error DO loop Support 10
mfarah Fixed The DATE command produces the wrong error message. Support 1
vefatica ON ERROR terminates DO loop. Support 0
C Google intregration error Support 4
C FB intregration error Support 0
gworley rd (Remove Directory) gives interesting error: Support 2
D How to? Skip removing directory (RMDIR) without error message Support 2
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
M Strange error messages from TCC in FTP copy Support 7
vefatica Error message from TOUCH Support 2
R FIND command error Support 9
fpefpe Python dll error Support 3
D error in help documentation? Support 0
R FOR usage error from TCC but not from CMD Support 16
K_Meinhard Help file error Support 1
X small translation error. Support 0
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
Dmitry L. Kobyakov From old version: had the setup's error been corrected? Support 6
vefatica Why no error message? Support 2
vefatica ON ERROR and pipes? Support 8
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
Joe Caverly TASKDIALOG Help link error Support 1
J Error "Contents lost before copy" Support 3
vefatica What's causing this error? Support 4
vefatica Error 203? Support 4
C Activation Error. Support 2
J Error running Python at command line Support 9
Joe Caverly PSHELL Error? Support 16
M Fixed PSHELL command returns error Support 2
vefatica REGDIR, strange error message Support 7
O Error in plugin /u Support 2
O TPIPE: Error -Can´t access textpipeengine.dll Support 24
fpefpe How to? script error Support 1
fpefpe How to? script error Support 0
D Error 0xc0000142 and FAR Manager Support 10
F Powershell call fails with "Scripting Integrator 2016 (PowerShell)" license error Support 9
cgunhouse FTP Error Support 5

Similar threads