Hi!
Time for another test. This time with quote in password. Here's the result from the test
Create a archive with password = aa"a
Code:
D:\PACL_Test>pacomp -a -saa"a -e2 -p Test3.zip PICT0030.jpg
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 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
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:
D:\PACL_Test>pacomp -a -saa^"a -e2 -p Test3.zip PICT0030.jpg
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 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
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:
D:\PACL_Test>pacomp -a -s@password.txt -e2 -p Test3.zip PICT0030.jpg
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 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\Test3.zip
preparing to compress...
adding: PICT0030.JPG --> Done. [100%]
All OK
D:\PACL_Test>
Looks like it working properly. Now I try test the created archive to check that the password is set correctly.
Code:
D:\PACL_Test>paext -t Test3.zip
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version
This product is licensed to: Mikael Hedman
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\Test3.zip [ZIP]
testing: PICT0030.JPG Enter password for PICT0030.JPG: aaa
*** Message: Invalid password aaa
Enter password for PICT0030.JPG: aa"a
--> OK [100%]
D:\PACL_Test>
Looks like it's working with quote in password as long as you put the password in a file.
Test result:
OK with remark
The user should not have to put the password in a textfile to use quote in the password. On the other hand the workaround by using a textfile will solve the problem with quote in the password.
Since I'm not sure what the expected result would be, but from the post of spwolf I get the impression that it should be possible now to use quote in a password when using PACL 6.02 even without a password stored in a textfile.
Kind Regards
Micke