Config Windows To Make Trucrypt.exe be in the system path
Any questions ask truecrypt with command "truecrypt /?"
Replace After /v , Replace After /k also replace after /l for drive letter
.
-----------------CODE UNDER-----------Save As Automount.bat--------------------------------------------
REM TrueCrypt mounting script (version 2)
REM Written by Mark Ursino (allthingsmarked.com)
REM Modifications are allowed, but please include these comments
@echo off
cls
set /P thepass="Enter the volume pasword: "
truecrypt /v whereHarddiskPartitionIs /k C:werekeyis /l d /m /a /p %thepass% /b /q
truecrypt /v whereHarddiskPartitionIs /k C:werekeyis /l e /m /a /p %thepass% /b /q
cls
-------------------------------------CODE END-----------------------------------------------------------------------------------------
.
.
Replace After /d with drive letter you want example /dd for drave D: or /de for drave E:
----------------------CODE UNDER-----------Save As Unmount.bat---------------------------------------------------------------------------------------
REM TrueCrypt unmounting script
REM Written by Mark Ursino (allthingsmarked.com)
REM Modifications are allowed, but please include these comments
@echo off
cls
truecrypt /dd /q
truecrypt /de /q
cls
--------------------------------Code ENDS--------------------------------------------------------------------------------------------------
.
Why not add the bat files to your USB drive? Never tried this code. If anyone gets autorun.inf to work please Post
.
----------------------CODE UNDER-----------Save As autorun.inf------------------------
[autorun]
open=cscript Automount.bat
ACTION = Mount TrueCrypt Volume
----------------------CODE ENDS----------------------------------------------------------------