pede
asked on
Enumerating shares
Hi, I've looked around a bit for an API call to enumerate shares when given a machine name, but I couldnt find one.
Like - GetShares('\\SomePC')
I only need directories, btw, not printers and such.
Thank you,
Pede
Like - GetShares('\\SomePC')
I only need directories, btw, not printers and such.
Thank you,
Pede
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
listening
ASKER
Hi, Im not at work now, but I will have a closer look when I get there. I did find those two functions though, and I dont need to find computers on the network. I already got the computername, I need the shared directories on the computer. Maybe that is possible with those functions too, but Im not sure how.
ASKER
Hi, I had forgot all about this question.
A few hours ago I searched Google for 'enumerating shares' because the above question was starting to get urgent. And as the very first result I get my own question on EE :-) After fiddling around for a while I solved it with the enum functions, thanks for the suggestions.
A few hours ago I searched Google for 'enumerating shares' because the above question was starting to get urgent. And as the very first result I get my own question on EE :-) After fiddling around for a while I solved it with the enum functions, thanks for the suggestions.