Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://190243]
help
Chatterbox?
[Discipulus]: no, they are my crossword/sudoku like entertainment
Discipulus grins
[marto]: Even with shell command recall I find it less time consuming to do such things in a file.
[marto]: I very seldom use one liners for anything which isn't utterly trivial
[Discipulus]: i'm wise enough to never use my oneliners

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-09-22 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (260 votes). Check out past polls.

    Notices?