password commandline

Help
Ryu
2013-12-17
2013-12-18
  • Ryu
    Ryu
    2013-12-17

    Hi!
    I have this file: test.7z withs this password in new line:
    ' "SECRET'"
    [single quotation mark][SPACE][double quotation mark][LETTERS][single quotation mark][double quotation mark]

    How to can I extract this with parameter "p"?
    I want to make batch script

     
  • therube
    therube
    2013-12-18

    Is this what you're looking for?

    7z e test.7z -p"' "SECRET""

    (Wonder if it's "dangerous" to use such characters as part of the password? Not sure you could enter it interactively, having 7-zip prompt you?)

     
    Last edit: therube 2013-12-18