I need to list out all the shared folders(directory) in the system along with their path . i want a command or an api in MFC, for listing out the shared directories. please help me in this .
Printable View
I need to list out all the shared folders(directory) in the system along with their path . i want a command or an api in MFC, for listing out the shared directories. please help me in this .
The WIN32 API to enumerate shares is NetShareEnum. Look at the different levels available to see the different information that can be provided.
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
Thanks for your reply ..
But what i found after executing the code given in the link which you have provided is , it gives all the folder which is being linked with the network , But i want to know about the share folders which is only created by the user .Like its showing my clearcase folder too , which i dont want .
can you please give some idea on it ?