>Assuming the current user has read/write access to the current directory, I'd like to grant access to more users for a sub-directory through VFP (or even VB). How can I do this?
>
>Example: F:\PROJECTS is read-only, so people don't put files there
>F:\PROJECTS\projname (with some sub-directories) is created in VB, and RW access is granted to the group "Company"
>
There are APIs in NT to do this, but I'd strongly recommend using an ActiveX control instead - the Microsoft ADSI (Active Directory) components can do this pretty well (and they are easy to integrate with the WSH - Rick Strahl's Web site has a white paper on using the ADSI controls within VFP, and there are tons of sites which include examples of common NT administrative tasks done using VBScript or JScript with the WSH and the ADSI controls.
Paul-Vlad Tatavu also hand developed some NT ActiveX controls that might be useful (they aren't free, he's been great about providing people who've asked with eval copies.) And he's here on UT...