I would like to use a windows dll (perhaps advapi32.dll) to get the owner of a given file. I do not know how. This post at http://www.autohotke...-and-stringsid/ looks like it demonstrates enough understanding to make the dll call to get the owner of a file. I could be wrong, but I believe the function is GetSecurityDescriptorOwner.
Does anyone know how to get the owner of a file in ahk without using xcacls.exe.... preferably with a system dll call?