This is my Batch script (.bat file) to start TrueCrypt volume when I log in to my PC.

Make a text file call StartTC.txt and rename it to StartTC.bat and put it in the Start-Programs-Startup Folder/Menu.

Put the following text into it:

SCRIPT: How to start your encrypted volume at boot with this script:

 
Explanation:

c: == Truecrypt and Evernote Programs are located in my C directory so make the batch script go there

cd “\program files\truecrypt” == Go into the truecrypt directory inside program files (in your case it might be “program files (x86)” instead

TrueCrypt /v “<location of encrypted volume>” /l <drive letter> /auto /q == Automounts my special volume To the drive letter after /l so in above case Drive K:
BONUS SCRIPT: How to start Truecrypt and then Evernote and close Truecrypt when Evernote Closes

 

Explanation:

c: == Truecrypt and Evernote Programs are located in my C directory so make the batch script go there

cd “\program files\truecrypt”== Go into the truecrypt directory inside program files (in your case it might be “program files (x86)” instead

TrueCrypt /v “Location of my Encrypted Volume” /l <drive letter> /auto /q == Automounts my special volume To the drive letter after /l so in above case Drive K:

start /DC:\ “Program Files (x86)\Evernote\Evernote” /B /WAIT “C:\Program Files (x86)\Evernote\Evernote\evernote.exe” == I also start EVERNOTE after because I have its library inside of my encrypted volume so therefore Evernote is now more secure

truecrypt /d k /q == Close True crypt when Evernote is closed

Leave a Reply

Your email address will not be published. Required fields are marked *