1、创建
"VeraCrypt Format-x64.exe" /create d:\enctest.img /password MyPassword /hash sha512 /encryption serpent /filesystem NTFS /size 1000M /force
2、加载
VeraCrypt-x64.exe /v d:\enctest.img /l Z /a /p MyPassword /nowaitdlg
关闭弹出的VeraCrypt界面
taskkill /F /FI "IMAGENAME eq VeraCrypt-x64.exe"
3、卸载
VeraCrypt-x64.exe /q /d Z /nowaitdlg