Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://250986]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-12-08 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.