http://qs321.pair.com?node_id=362069


in reply to Re^2: USB Drive Letter Assignment in Win32
in thread USB Drive Letter Assignment in Win32

Sorry for the late responce--

Give the drive a Label "USBDrive" then...
use Win32::AdminMisc; %Info = Win32::AdminMisc::GetVolume($drive); print "Drive label is $Info{Volume}\n";
Cycle through all the attached drives and then you will be able to find the drive you are looking for.
See the doc for complete info:

http://www.roth.net/perl/adminmisc/