Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's the fastest way to output the 'Title' property of all files in a directory in Windows 7? I tried dir in command line but that only prints the filename, not the Title found in the extended properties. Is there a fast way of iterating a directory (preferably via commandline or batch)?

share|improve this question
Probably can be done using PowerShell in Windows7, but have no clue how to get it done… – Moab Feb 27 '12 at 3:50
Sounds similar to a question I had awhile ago. I'll see if I can dig it up. – Iszi Feb 27 '12 at 4:20
Here. See if you can adapt some of the answers from this question to help:… – Iszi Feb 27 '12 at 4:23
up vote 0 down vote accepted

Check out this link where James O'Neill creates a powershell script to get at any of the extended properties. He uses it to get at all the camera properties stored in a file, but Title is one of them.

share|improve this answer
You could easily copy the relevant content into your post. The problem with link only answers is links go bad! Copying content is absolutely fine providing it is cited (as it is). If you copy the content over, I'll remove my -1 – Dave Nov 12 '13 at 9:22
I felt like I would need to copy the entire entry to make complete sense. I could just say "use the GetDetailsOf method", but that doesn't explain everything. Superuser is a wiki too, so enhance the answer if you'd like. – WireGuy Nov 13 '13 at 11:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.