I am currently working on an improvement in the deployment process and I would like to automate one of the new steps.
Through Windows UI I can share the same folder on the network under several different names.
At the command prompt there is a command for the share ( NET SHARE _shared $ = c: \ Exemplo
), but only allows you to add a name to the shared folder.
Is there any way to do this programmatically, such as with the Windows API or even WMI?