Trev
2009-05-04 15:24:26 UTC
I've been trying to change file permissions using
win32_Directory.ChangeSecurityPermissionsEx
I'm battling to get the syntax correct...
{System.Management.ManagementBaseObjectChangeSecurityPermissionsEx
(System.Management.ManagementObject#Win32_SecurityDescriptor
SecurityDescriptor, System.UInt32 Option, System.String StartFileName,
System.Boolean Recursive)}
I've tried ("1 + 4") - ("SecDescriptor", "4", "c:
\folder","Recursive")
I've read the class info from msdn site.
Thanks
win32_Directory.ChangeSecurityPermissionsEx
I'm battling to get the syntax correct...
{System.Management.ManagementBaseObjectChangeSecurityPermissionsEx
(System.Management.ManagementObject#Win32_SecurityDescriptor
SecurityDescriptor, System.UInt32 Option, System.String StartFileName,
System.Boolean Recursive)}
I've tried ("1 + 4") - ("SecDescriptor", "4", "c:
\folder","Recursive")
I've read the class info from msdn site.
Thanks