tag:blogger.com,1999:blog-19298483.post116014063124665901..comments2023-08-01T13:38:49.728+02:00Comments on Insights and Rants: TrueCrypt shortcuts that saves time and keeps files safeDonn Edwardshttp://www.blogger.com/profile/07954994300802439618noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-19298483.post-22530235240474343462010-04-06T11:04:44.955+02:002010-04-06T11:04:44.955+02:00The "c:\importants" parameter doesn'...The "c:\importants" parameter doesn't tell truecrypt anything.<br /><br />a) You need to create a standard TrueCrypt volume. Give it a name like c:\Importants.pgd<br /><br />b) You have to decide what drive letter to map it to, such as X:<br /><br />c) Then use the following line: (it's all one line, not two)<br />"C:\Program Files\TrueCrypt\TrueCrypt.exe"<br />/l X /v c:\Importants.pgd /q<br /><br />That will tell Truecrypt to Load (/l X) the file as drive X, to use the volume (/v c:\Importants.pgd) that you created, and to quit (/q) when done.<br /><br />If you include "/c y /m ts" at the end of the line, it will cache your passphrase and keep the time stamp of your TrueCrypt file current, which is useful for making backups.Donn Edwardshttps://www.blogger.com/profile/07954994300802439618noreply@blogger.comtag:blogger.com,1999:blog-19298483.post-27195347574294431172010-04-05T02:17:24.277+02:002010-04-05T02:17:24.277+02:00what does the line "/l X /v D:\DonnDev.pgd /q...what does the line "/l X /v D:\DonnDev.pgd /q" do? i follow your programming up until that point.<br /><br />i've used your code as a basis for a shortcut batch of my own, but i cannot figure out how to make the batch finish executing in command prompt before i manually exit out of truecrypt.<br /><br />heres my code (i commented out the last two lines as i've found they do nothing necessary for my setup),<br /><br />@echo off<br />if not exist i:\nul goto TCMount<br />start i:\<br />goto END<br />:TCMount<br />echo Enter TrueCrypt password...<br />"C:\Program Files\TrueCrypt\TrueCrypt.exe" C:\importants<br />::if exist i:\<br />::start i:\<br />:END<br /><br />any suggestion?caseodillahttps://www.blogger.com/profile/08607194585447630128noreply@blogger.com