Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

How can I detect the drive letter of a mounted TrueCrypt volume

$
0
0

Hello,

 

 

I am working on a custom mount/unmounter for truecrypt.

 

 

Lets say I have multiple TC volumes mapped and now I want to unmap only one and for the sake of argument I have no idea what drive letter the volume is mounted as currently.

 

If my only input to my script were a string "c:\TC_volumes\TCdrive1.dat" I am trying to figure out that TCdrive1.dat == r:\

 

Does anyone know of a way to detect the drive letter based on only the path of the volume file?

 

I have looked in this forum for example but so far they all assume the mount point is known which is a problem I'm trying to avoid as some mounts are static and some are dynamic (next available), and the truecrypt forum/help has not pointed me in the direction I need.

 

 

Thanks.

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>