View Single Post
  #6  
Old 05-31-2010, 01:39 PM
Micke's Avatar
Micke Micke is offline
PA Super User
 
Join Date: Feb 2010
Location: Sweden
Posts: 131
Thanks: 11
Thanked 52 Times in 40 Posts
Hi!

Quote:
Originally Posted by spwolf View Post
micke try c1 or c2 and see how it goes...
I don't know what that parameter (c1, c2) does . Anyway I think I have found the problem now.

First without the -e parameter

Code:
D:\PACL_Test>pacomp -a -p -ssecret TestPassword.zip Logfile.log
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: D:\PACL_Test\TestPassword.zip
  preparing to compress...
  adding: Logfile.log   --> Done. [100%]

All OK

D:\PACL_Test>
Then I try extract the created archive using the same password

Code:
D:\PACL_Test>paext -e -ssecret TestPassword.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> D:\PACL_Test\TestPassword.zip [ZIP]

  extracting: Logfile.log   --> Done. [100%]

D:\PACL_Test>
As you can see, everything works fine. Repeat the test with parameter set to -e0

Code:
D:\PACL_Test>pacomp -a -p -ssecret -e0 TestPassword_e0.zip Logfile.log
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: D:\PACL_Test\TestPassword_e0.zip
  preparing to compress...
  adding: Logfile.log   --> Done. [100%]

All OK

D:\PACL_Test>
Looks fine, then extraction

Code:
D:\PACL_Test>paext -e -ssecret TestPassword_e0.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> D:\PACL_Test\TestPassword_e0.zip [ZIP]

  extracting: Logfile.log   --> Done. [100%]

D:\PACL_Test>
Do the same thing with parameter -e1

Code:
D:\PACL_Test>pacomp -a -p -ssecret -e1 TestPassword_e1.zip Logfile.log
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: D:\PACL_Test\TestPassword_e1.zip
  preparing to compress...
  adding: Logfile.log   --> Done. [100%]

All OK

D:\PACL_Test>
Extraction of the created archive

Code:
D:\PACL_Test>paext -e -ssecret TestPassword_e1.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> D:\PACL_Test\TestPassword_e1.zip [ZIP]

  extracting: Logfile.log   --> Done. [100%]

D:\PACL_Test>
And finally with the -e2 parameter

Code:
D:\PACL_Test>pacomp -a -p -ssecret -e2 TestPassword_e2.zip Logfile.log
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: D:\PACL_Test\TestPassword_e2.zip
  preparing to compress...
  adding: Logfile.log   --> Done. [100%]

All OK

D:\PACL_Test>
Extraction of the file

Code:
D:\PACL_Test>paext -e -ssecret TestPassword_e2.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> D:\PACL_Test\TestPassword_e2.zip [ZIP]

  extracting: Logfile.log   --> Done. [100%]

D:\PACL_Test>
Everything works without any problem now. The reason for the error message I got was because of this:

Code:
pacomp -a -p -ssecret -s0 TestPassword.zip Logfile.log
I had probably some brain meltdown then I tried this last night , because instead of using the -e parameter I repeated the -s parameter again, resulting in a password set to 0 instead of secret and that caused my problem.

I didn't even noticed this until now when I look at my post to see what parameter that I have used. My apologies for bringing this up. There's no problem with the password set in PACOMP, only brain meltdown behind the keyboard

Kind Regards
Micke
Reply With Quote