I've installed the Traveler version of VeraCrypt on a flash drive. I would like to provide a Windows batch file on that disk to make mounting of an encrypted file easier. Here is my batch file (mount.bat) which I've put on the root of the flash drive:
:: Mount the Dymo encrypted data on Y:
echo OFF
VeraCrypt\VeraCrypt-x64.exe /q /v Encrypted/Dymo.hc /l Y
VeraCrypt runs when I execute this batch command and prompts me for the password. However, after entering the password I get an error messages:
The filename, directory name, or volume label syntax is incorrect.
Source: MountVolume:8455
If I REMOVE the /q option I don't get an error message but then I have to manually click on "Mount" and enter the password.
I'd really like to hear any thoughts on why /q seems to trigger an error message and, more critically, what changes I can make to the batch file to allow the encrypted file to be mounted with the least amount of user interaction.
Many thanks, Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Many thanks for pointing out my "dumb" error - I must have had Linux in mind when I set up this BATCH file! I am a little surprised that VeraCrypt ran even with the forward slash in the Path....
In any case, thanks very much!
Wayne B'Rells
The above signature shows that this is a valid message from me!
Folks,
I've installed the Traveler version of VeraCrypt on a flash drive. I would like to provide a Windows batch file on that disk to make mounting of an encrypted file easier. Here is my batch file (mount.bat) which I've put on the root of the flash drive:
:: Mount the Dymo encrypted data on Y:
echo OFF
VeraCrypt\VeraCrypt-x64.exe /q /v Encrypted/Dymo.hc /l Y
VeraCrypt runs when I execute this batch command and prompts me for the password. However, after entering the password I get an error messages:
The filename, directory name, or volume label syntax is incorrect.
Source: MountVolume:8455
If I REMOVE the /q option I don't get an error message but then I have to manually click on "Mount" and enter the password.
I'd really like to hear any thoughts on why /q seems to trigger an error message and, more critically, what changes I can make to the batch file to allow the encrypted file to be mounted with the least amount of user interaction.
Many thanks, Wayne
You should use a back slash, rather than a forward slash, in your path to the encrypted file:
Many thanks for pointing out my "dumb" error - I must have had Linux in mind when I set up this BATCH file! I am a little surprised that VeraCrypt ran even with the forward slash in the Path....
In any case, thanks very much!
Wayne B'Rells
The above signature shows that this is a valid message from me!
You should use a back slash, rather than a forward slash, in your path to the encrypted file:
encrypted\Dymo.hc
/q with Traveler VeraCrypt generates an error message when using script to mount file
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/veracrypt/discussion/technical/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/