I use
g:\veracrypt\VeraCrypt.exe /q /a /v g:\archivename Y
to mount an encrypted file to drive Y. Everything works fine so far.
However ... I noticed a delay between starting the command and the
appearance of the password dialog.
The reason: Veracrypt wakes disks that are currently on standby, in my case
the ones mounted to J: and K:
What for? And can it be avoided?
Even when using the command line, I would expect Veracrypt to scan the system for available drives and drive letters to check if "Y" drive letter is currently in use.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use
g:\veracrypt\VeraCrypt.exe /q /a /v g:\archivename Y
to mount an encrypted file to drive Y. Everything works fine so far.
However ... I noticed a delay between starting the command and the
appearance of the password dialog.
The reason: Veracrypt wakes disks that are currently on standby, in my case
the ones mounted to J: and K:
What for? And can it be avoided?
Even when using the command line, I would expect Veracrypt to scan the system for available drives and drive letters to check if "Y" drive letter is currently in use.
I agree with @enigma2illusion, but the options you say you use in your command are not technically correct. They should be
/q /v g:\archivename /l Y
You apparently didn't use
/l
, and/a
is redundant ('cos implicit) if/q /v
are specified.Have you tried
if not exist Y:\ etc etc
? Possibly in a batch file?I've no idea if it'll make a difference, since I can't test it on my PCs!