Obtain the Owner of a File on Windows NT/2000
Category:
Files and DirectoriesType:
SnippetsDifficulty:
AdvancedAuthor: Waty
Version Compatibility:
More information:
See comments for details. You may want to check the OS version before running this code. There are multiple examples on this site that show you how to do this.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: