I am trying to grab Windows file properties from a file such as author, date, subject etc. I have try using summary information and and FileNotFound
exception comes up. How could I do this. I have searched for a while and found nothing that works. If the solution isn't possible in Java, could it possible in C or Python?
Thanks in advance
Asked
Active
Viewed 638 times
0

Steve Tjoa
- 59,122
- 18
- 90
- 101

user2187507
- 21
- 3
-
what other attributes are covered in etc? – Vishal K Mar 19 '13 at 17:06
-
I would to be able to grab anything in the details section, (from file properties in windows 7), so path, tags, comments, anything in there. – user2187507 Mar 19 '13 at 17:17
-
http://stackoverflow.com/questions/4096973/reading-windows-file-summary-properties-title-subject-author-in-java – BalusC Mar 19 '13 at 17:21
-
I have tried that but this throws the file not found exception: test.txt:\u2663SummaryInformation – user2187507 Mar 19 '13 at 17:23
-
Or does the number affect it? (2663) in the previous comment? – user2187507 Mar 19 '13 at 17:35
-
look at this tutorial http://docs.oracle.com/javase/tutorial/essential/io/fileAttr.html . This might be of your help. – Vishal K Mar 19 '13 at 17:37
-
I have tried the tutorial before and it only brings up information about the file (date created, title), not information of the actual file, like where it came from (author, tags etc). – user2187507 Mar 19 '13 at 17:43
-
I have been looking more into the summary information, the question that I have is how would you read from it? I realize that's probably the correct direction, but I am unsure how to proceed. – user2187507 Mar 19 '13 at 17:53