Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to get a List of drives on window

by myocom (Deacon)
on Aug 14, 2002 at 21:34 UTC ( #190243=note: print w/ replies, xml ) Need Help??


in reply to How to get a List of drives on window

Two modules spring to mind. Win32::DriveInfo is one, and Dave Roth's Win32::AdminMisc is the other. Both modules have functions that will return a list of drives: DrivesInUse() in the former, and Win32::AdminMisc::GetDrives() in the latter.

"One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison


Comment on Re: How to get a List of drives on window
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2014-09-17 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (55 votes), past polls