Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Preselect option does not work on KP2 2.23

Help
AlexH
2013-10-11
2013-10-13
  • AlexH
    AlexH
    2013-10-11

    Hello,
    I am trying to preselect key file: -preselect:c:\path\to\key.file
    This option work with KeePass1 (1.17) but does not work on current KeePass2
    (2.23).
    Can anyone tell me if this option should work?
    Thank you.

     
  • Paul
    Paul
    2013-10-13

    You have to specify the database and the pre-select option.
    http://keepass.info/help/base/cmdline.html

    cheers, Paul

     
  • AlexH
    AlexH
    2013-10-13

    Thank you. I specified it... But now I found why it does not work.
    Current disk and folder is: C:\ If I run "d:\kp2\keepass.exe dababase.ext -preselect:c:\keyfile.ext" - keyfile is not preselected, but if I run "d:\kp2\keepass.exe c:\dababase.ext -preselect:c:\keyfile.ext" - keyfile is preselected (in both cases database is selected properly as c:\dababase.ext).
    I think it is bug and need to be fixed in future.

     
  • Dominik Reichl
    Dominik Reichl
    2013-10-13

    Thanks for the suggestion. I've added this feature now.

    Here's the latest development snapshot for testing:
    http://keepass.info/filepool/KeePass_131013.zip

    Best regards,
    Dominik