@OWNER

<< Click to Display Table of Contents >>

Navigation:  TCC > Variables & Functions > Functions >

@OWNER

@OWNER[filename]:  Returns the owner of the specified file (if any).

 

Examples:

 

echo %@owner[c:\windows\explorer.exe]

NT SERVICE\TrustedInstaller

 

echo %@owner[v.exe]

ASUS-PC\Rex