Hi, I'm trying to rewrite my DOS scripts for calling Veracrypt from within Python. I could really do with some help.
import subprocess runvc = "c:/program files/veracrypt/veracrypt.exe" arguments=('/tc /q /v encrypted.tc /l Z') subprocess.call([runvc, arguments])
The argument calls to load the volume "encrypted.tc" from a USB drive as Z:, but it doesn't load. This argument works from DOS.
I got the script from various people who can call EXE files with arguments, but its not working.
any ideas.
Yosef
veracrypt comes up, but doesn't use the parameters specified.
Have you tried using the full path to 'encrypted.tc' in your arguments?
Log in to post a comment.
Hi,
I'm trying to rewrite my DOS scripts for calling Veracrypt from within Python. I could really do with some help.
import subprocess
runvc = "c:/program files/veracrypt/veracrypt.exe"
arguments=('/tc /q /v encrypted.tc /l Z')
subprocess.call([runvc, arguments])
The argument calls to load the volume "encrypted.tc" from a USB drive as Z:, but it doesn't load. This argument works from DOS.
I got the script from various people who can call EXE files with arguments, but its not working.
any ideas.
Yosef
veracrypt comes up, but doesn't use the parameters specified.
Have you tried using the full path to 'encrypted.tc' in your arguments?