Just another Perl shrine | |
PerlMonks |
Re: USB Drive Letter Assignment in Win32by BrowserUk (Patriarch) |
on Jun 06, 2004 at 17:30 UTC ( [id://361774]=note: print w/replies, xml ) | Need Help?? |
You might be able to use Win32::API and SetVolumeMountPoint to do this. There is a little more information here and some sample C code here. You might also get away with shelling out to the subst command
which might be simpler, but would require you to detect where the USB drive was so that you could subst it to a well-known place. Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"Think for yourself!" - Abigail
In Section
Seekers of Perl Wisdom
|
|