LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set rights for files using localgroups with xcacls

Hello, I want to set the rights for a text file, in a way, that everyone can read and write to it. With cacls or xcacls you only can set rights to members or groups, but how to find out the proper labels for the groups, the label differ depend to the language of your system, so my idea was: find out the actual group names with the command: net localgroup and create xcacls commands for each group: xcacls foo.txt /y /c /g group-name:c /E I have only a german-language MS-Windows XP operating system (OS) to test my code, so my question is: Please can you check, if the code is also working on MS-OS with different languages and please tell me if it works also under MS-Vista. The attached code is tested with LabView 6.0.2, the zip-file also contains some admint tools (touch, xcacls, SubInACL) Kind regards, Stefan P.S.: I work with xcacls because it comes with the option /Y 🙂
0 Kudos
Message 1 of 1
(2,609 Views)