Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Getting list of drives on pc

by Rex(Wrecks) (Curate)
on Apr 16, 2003 at 18:25 UTC ( #250986=note: print w/ replies, xml ) Need Help??


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!


Comment on Re: Getting list of drives on pc
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-04 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls