Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Find device letter

by wind (Priest)
on Mar 21, 2014 at 01:02 UTC ( [id://1079150]=note: print w/replies, xml ) Need Help??


in reply to Find device letter

Can also work off the list of available drives: (tye)Re: List of Mounted Drives on Win32
use strict; use Win32API::File qw(getLogicalDrives GetVolumeInformation ); my @drives = getLogicalDrives(); for my $d (@drives) { my @x = (undef)x7; GetVolumeInformation( $d, @x ); print "$d $x[0] ($x[5])\n"; }
- Miller

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1079150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-20 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found