Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sharing Folder on the Network
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00504542
Message ID:
00505094
Views:
19
>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...
Joe Mamokan
Database Specialist
Email Address: mamokan@eudoramail.com
Url Address: http://visnet_dd.tripod.com
"Can you VISUALIZE Quick Data Access"
Cell # +639172482033
Previous
Reply
Map
View

Click here to load this message in the networking platform