Secmai, To make a folder sharable on WinNT based systems, any folder, right click on the folder, and select Sharing tab. By default, "Do not share this folder" is selected. Select "Share this folder" and enter the name, permissions,....
Thanks for response. Of course, I know how to do it under Windows. My aim is to share a folder programmaticaly from labview. Is there a dll for doing this. Thanks.
There is no VI that would allow you to programmatically set the folder sharing property. I am sure there is a windows function that will allow you to do this, in user32, kernel32, or some other dll. But, this is beyond LabVIEW support. You can look for this function on MSDN, and it will probably tell you which dll it is in. If / when you find it, all you need in LabVIEW is to use the Call Library Node function.
Okay. Wasn't sure if you were on Windows or something else. On Windows, I believe you can use the NetShareAdd function of netapi32.dll in order to create a new share. I suspect you'll have to run that function from an admin account, however. You should be able to get more details from the MSDN site.