Well, I'm still not sure why you can't just set the permissions on the folder from Windows directly. You know, right click on the folder, select "Sharing and Security" and switch to the "Security" tab. Set the ACL (Access Control List) as required and you're done.
Unless this folder is created on the fly by your LabVIEW code? If that's the case then you have a couple of options. The first is to use the Windows API to set the ACL as needed. This requires calling Windows DLLs. Not really all that fun and prone to error. However, before you go down that route you should try an alternative which may be easier. You can use the command-line cacls command. You can get more detailed info here :
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsNT/AdminTips/Miscellaneous/UseCACLSWindowsNTutilitytoeditordisplayfilepermissions.html
If that isn't enough you can try the open-source utility "SetACL" found at:
http://www.helge.mynetcologne.de/setacl/
You can just run either of these with the LabVIEW "System Exec" function.
[Edit] Actually, the new version of SetACL is supposed to be available as an ActiveX-DLL so you should be able to use it directly from within LabVIEW. If you need more help let me know.
Why don't you give those a try to see if they fit the bill before delving into the Windows API calls.
-Saverio
Message Edited by smercurio_fc on 12-29-2005 11:44 AM