Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 scrutinizing the Monastery: (17)
As of 2014-10-01 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (34 votes), past polls