>Hi All.
>
>I've been looking thru the WinAPI section as well as the VFUG articles on
>WSH ... but haven't found what I'm looking for yet.
>
>Can anyone tell me how to open up a share on the local PC from VFP .. either with WSH or using a windows DLL call?
>
>For example, I want to programatically open c:\test (local) as a share called TEST ... and set the read and write password.
>
You'll need to use the ADSI ActiveX controls or some moderately complex API coding - the creation and control of shares varies widely by which OS is used to host the share. The ADSI controls virtualize the share operation, but require proper installation on both client and server platforms.