December 8, 2010

A tip using Launchy

As part of my current toolbox, every day as soon as the PC boots I start TrueCrypt, Evernote, Remember The Milk, Total Commander, Dropbox and Everything.

Going through each was taking a couple of minutes every morning, even using Launchy. After a while I did some research about how to automate the task, with the result of a small batch file called ‘all.bat’ having the following code:

@echo off<br></br>
if not "%1"=="" "c:\Program Files\Truecrypt\truecrypt.exe" /auto favorites /password %1 /quit<br></br>
if "%1"=="" "c:\Program Files\Truecrypt\truecrypt.exe" /auto favorites /quit<br></br>
echo TrueCrypt ready<br></br>
start /d "c:\Program Files\Evernote\Evernote3.5\" Evernote.exe<br></br>
echo Evernote ready<br></br>
start /d "c:\Program Files\Total Commander\" totalcmd.exe<br></br>
echo Total Commander ready<br></br>
start /d "c:\Program Files\Everything\" Everything.exe<br></br>
echo Search Everything ready<br></br>
start C:\Users\shanahane\AppData\Local\Google\Chrome\Application\chrome.exe --app=""<br></br>
echo Remember the milk ready<br></br>
if not "%1"=="" start C:\Users\shanahane\AppData\Roaming\Dropbox\bin\Dropbox.exe /home<br></br>

When I am ready, I just call Launchy with an Alt-Space and write all, press Tab and then write the password for my TrueCrypt disk. A few seconds later I am ready to go.