Original Post
This question is a little odd and platform specific but I am stumped on this one. I'm working on Windows XP Professional using JDK 1.1 with JFC Swing 1.1.1 I am trying to get the Windows specific file attribute 'owner' which gives you the account name that last modifed the file which you can access directly using the windows file browser and displaying files details. I would like to be able to access this information using a Java program however the File class to be platform independant does not offer the option of figuring out who the owner of the file is. I'm wondering if anyone here knows a way to access the information and bring it in to a Java Program I would like a function with the following declaration that does the job. public String getOwner( File ); Any help that you can provide is most appreciated! Note: I have posted this in other forums on the internet for java programming just thought I'd check here cause people here seem to know a lot about Java.