Menu

Batch file to select volume to mount and present password entry window

JimmyW
2017-11-11
2017-11-11
  • JimmyW

    JimmyW - 2017-11-11

    I created a batch file to mount a container: veracrypt /v d:\file.hc /pim 10 /l w /e /b. It runs okay, but takes me to the window where I must select the file, which ialready s in the Select file box. From there, I must click Mount. I'd like to skip this step and go directly to the Enter passord window. How can I do that? Thanks.

     
  • Adrian Kentleton

    Add the /q switch.

     
  • JimmyW

    JimmyW - 2017-11-11

    Thanks! that did it.

     
  • JimmyW

    JimmyW - 2017-11-14

    I also just noticed that, when the Enter Password box opens, it does not have focus, so I must click in the box. Is there a switch I can add to bring focus to that box automatically? Thanks again!

     
  • Adrian Kentleton

    I cannot reproduce your issue with a test volume, using v1.21 on W7, mounting from a similar batch file whose only role is to mount the volume; the password dialog always launches with focus in the password input box.

     

Log in to post a comment.

MongoDB Logo MongoDB