go ahead... be a heretic | |
PerlMonks |
Re: How to get a List of drives on windowby myocom (Deacon) |
on Aug 14, 2002 at 21:34 UTC ( [id://190243]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|