go ahead... be a heretic | |
PerlMonks |
Re: Getting list of drives on pcby Rex(Wrecks) (Curate) |
on Apr 16, 2003 at 18:25 UTC ( [id://250986]=note: print w/replies, xml ) | Need Help?? |
Well, do you want to dicern between network shares and actual partitions? What Windows version? 9x or NT/2K/XP? If it is the later (NT/2K/XP) look into parsing the output of net share (provided you have admin rights on the local machine). This still won't get you floppy drives or removable devices but it's a start. You have not provided very much info so I'm not exactly sure what you want. Oh, and why can't you use adminmisc? "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!
In Section
Seekers of Perl Wisdom
|
|