in reply to Getting list of drives on pc
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!
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