Skip to content

Instantly share code, notes, and snippets.

@0x4a
Created July 5, 2013 06:05
Show Gist options
  • Save 0x4a/5932278 to your computer and use it in GitHub Desktop.
Save 0x4a/5932278 to your computer and use it in GitHub Desktop.
run "script.ahk [dis]mount" to mount a predefined truecrypt container #tool #ahk #truecrypt
if 1 = mount
Run "%ProgramFiles%\Truecrypt\truecrypt.exe" /q /l y /v "%A_MyDocuments%\Dropbox\safe.tc"
else if 1 = dismount
Run "%ProgramFiles%\Truecrypt\truecrypt.exe" /q /dismount y
else
Msgbox,,Usage:,
(
%A_ScriptName% <option>
options are "mount" and "dismount"
)
Exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment