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...
See the doc for complete info:
http://www.roth.net/perl/adminmisc/
Give the drive a Label "USBDrive" then...
Cycle through all the attached drives and then you will be able to find the drive you are looking for.use Win32::AdminMisc; %Info = Win32::AdminMisc::GetVolume($drive); print "Drive label is $Info{Volume}\n";
See the doc for complete info:
http://www.roth.net/perl/adminmisc/
In Section
Seekers of Perl Wisdom