To change a drive letter upon insertion of usb is quite simple. Just one prerequisite: administrator.
So, you need a batch file with the following line:
diskpart /s %temp%\text.txt
and a text file saved as "text.txt" in your temp dir (%temp%) with the following lines:
select volume=F
assign letter=T
In this case, F is the current drive letter (F:\) and T is the drive letter that I want (T:\).
Of course you can create your own exe to extract the current drive letter and make your generate the text file that is required. If you don't have admin privileges, you can always substitute your drive instead by following SmithTech's instructions.
You are here
Change Drive Letter
June 4, 2007 - 6:03pm
#1
Change Drive Letter
You might find this thread https://portableapps.com/node/5011 interesting also.
Ed
Ed
in this thread? we all knew that and if we didnt we would ask. so why?
(TM)sergentsilerlogo:<(TM(sergentsiler) http://www.sergentsiler.freespaces.com/
Zoop