Who owns the file?

Browsing through some forum or newsgroup recently I noticed that the task of getting or setting file or folder ownership is not trivial from a script.

I put together a small COM component that does the trick and it is available for free from here:

http://www.primalscript.com/Free_Tools/index.asp

The usage is pretty simple and self explanatory.

image

Only tested under XP so far, so please post in our free tools forum if you encounter any trouble.

Please note that you MUST be logged on as an admin to use this.