I am modifying my Auto.bat, switching from TrueCrypt to VeraCrypt. This is bad:-
Code: Select all
If not exist T: "C:\Program Files\VeraCrypt\VeraCrypt.exe" /q /LT /V\Device\Harddisk1\Partition4
The trick is to insert a <space> character between the "/L" and the "T".
Same for the "/v" parameter and, I suspect, all other parameters. This is good:-
Code: Select all
If not exist T: "C:\Program Files\VeraCrypt\VeraCrypt.exe" /q /L T /V \Device\Harddisk1\Partition4
FWIW TrueCrypt did NOT require spaces:-
Code: Select all
"C:\Program Files\TrueCrypt\TrueCrypt.exe" /q /LT /V\Device\Harddisk0\Partition2
Chris