|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^3: USB Drive Letter Assignment in Win32by ambrus (Abbot) |
| on Jun 06, 2004 at 18:28 UTC ( [id://361820]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Any idea how to find a thumb drive? You could try putting a file of certain name on the drive and search for that in the root of every drive. Else, you could just find the last valid drive letter, and you have some chance that it is the usb device. Or else you could just find the drive with the smallest capacity (excuding floppies), but that may fail to work later if usb devices get cheaper.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||