A Member of the german forum asks if it is possible with DOpus 10 to extract several 7z-Archives with the same Password without having to re-type the Password for each archive again. He is using this Button which calls the installed Program to do that at the moment:
cd {sourcepath}
"/programfiles\7-Zip\7zG.exe" x {filepath} -pPASSWORD -aou
I have never used 7z so I'm just guessing here. Assuming the word PASSWORD in -pPASSWORD represents the correct password, you could try the following to see if it might work.
@set p = {dlgstring|Enter password}
cd {sourcepath}
"/programfiles\7-Zip\7zG.exe" x {filepath} -p{$p} -aou
Hi John,
Thank you for your reply, but I'm afraid I wasn't precise enough. The Button I presented is working fine for him and yes, PASSWORD is the correct Password for all Archives.
What he wants to do is uninstall 7-Zip and do the same thing with the internal features of DOpus. He also wants to create several Archives and protect them all with the same password which is possible using 7-Zip but I don't think DOpus can do it on it's own at the moment.
When using "Copy ADDTOARCHIVE HERE" a dialog comes up where I can choose to set a Password. But when I use "Copy ARCHIVE=single HERE" I can't set a Password and tell DOPus to use the same for all Archives. So if I want to create (or extract) several Archives with the same Password I can't do it in a single step telling DOpus the Password to use in the Buttoncode because there doesn't seem to be a command like "password=PASSWORD" I could add to the Code.
Perhaps this could be added in one of the next updates.