>You may use ADSI to do that, it is quite easy:
>
>oADsContainer = GetObject( "WinNT://DomainName/ComputerName/LanmanServer")
>oNewShare = oADsContainer.Create( "fileshare", "ShareName")
>oNewShare.Path = "FullPathToNewShare"
>oNewShare.Description = "ShareDescription"
>oNewShare.MaxUserCount = -1 && No limitation
>oNewShare.SetInfo
>Release oNewShare, oADsContainer
Hi ALEX!
Thanks for your quick response!
How do you implement this code in Win9x environment (Peer to Peer Network)... is there any available ADSI command for Win9x...
Thanx in advance...