Hi!
I have now retested this using PACL 7.00 beta 1. As before I have tried to create a archive with a quote in password. Here's the result from the test
Create a archive with password = aa"a
Code:
C:\PACL_Test\Amiga>pacomp -a -saa"a -e2 -p Test1.zip REFSCAN*.*
PowerArchiver Command Line (PACL) Version 7.00 [Jan 29 2012]
Copyright(c) 1998-2012 ConeXware, Inc. All Rights Reserved. Shareware Version
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZ2,XZ,LZM
A
Internet: http://www.powerarchiver.com Email: support@conexware.com
Example PACOMP commands:
------------------------
pacomp -a docs.zip "c:\my documents\*.doc"
Compress all *.doc files from "c:\my documents" directory to archive
docs.zip
pacomp -a -ssecret -c0 -p -r stuff.bh "c:\my stuff\*"
Compress all files from "c:\my stuff" directory and subdirectories to
archive stuff.bh with no compression and with password "secret"
Press ENTER to continue:
PACOMP won't accept quote in password. Next thing try using ^"
Code:
C:\PACL_Test\Amiga>pacomp -a -saa^"a -e2 -p Test1.zip REFSCAN*.*
PowerArchiver Command Line (PACL) Version 7.00 [Jan 29 2012]
Copyright(c) 1998-2012 ConeXware, Inc. All Rights Reserved. Shareware Version
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZ2,XZ,LZM
A
Internet: http://www.powerarchiver.com Email: support@conexware.com
Example PACOMP commands:
------------------------
pacomp -a docs.zip "c:\my documents\*.doc"
Compress all *.doc files from "c:\my documents" directory to archive
docs.zip
pacomp -a -ssecret -c0 -p -r stuff.bh "c:\my stuff\*"
Compress all files from "c:\my stuff" directory and subdirectories to
archive stuff.bh with no compression and with password "secret"
Press ENTER to continue:
Still no success. I then try put the password in a file.
Content of password.txt
I then create the archive
Code:
C:\PACL_Test\Amiga>pacomp -a -s@password.txt -e2 -p Test1.zip REFSCAN1.PCX
PowerArchiver Command Line (PACL) Version 7.00 [Jan 29 2012]
Copyright(c) 1998-2012 ConeXware, Inc. All Rights Reserved. Shareware Version
Remainder: This is unregistered version of PACL. Please register at http://www.p
owerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com Email: support@conexware.com
Archive: C:\PACL_Test\Amiga\Test1.zip
preparing to compress...
adding: REFSCAN1.PCX --> Done. [100%]
All OK
C:\PACL_Test\Amiga>
Looks like it working properly. Now I try test the created archive to check that the password is set correctly.
Code:
C:\PACL_Test\Amiga>paext -t Test1.zip
PowerArchiver Command Line (PACL) Version 7.00 [Jan 29 2012]
Copyright(c) 1998-2012 ConeXware, Inc. All Rights Reserved. Shareware Version
Remainder: This is unregistered version of PACL. Please register at http://www.p
owerarchiver.com
Press <ENTER> to continue.
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 --> C:\PACL_Test\Amiga\Test1.zip [ZIP]
testing: REFSCAN1.PCX Enter password for REFSCAN1.PCX: aaa
*** Message: Invalid password aaa
Enter password for REFSCAN1.PCX: aa"a
--> OK [100%]
C:\PACL_Test\Amiga>
PACL works the same in 7.00 b1 as in 6.02. It's possible to use quote in a password as long as you put the password in a text file.
Kind Regards
Micke