Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

There is a file utility in linux.
The users can get file format information by file.

I'd like to use this program in my application.
Is there a Windows utility? Open source is better.

share|improve this question

migrated from stackoverflow.com Jun 22 '11 at 14:22

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

File has been ported to Windows:

http://gnuwin32.sourceforge.net/packages/file.htm

share|improve this answer

trid might be a possibility - its used in computer forensics to identify files. Unlike file, it uses a database, rather than magic numbers

share|improve this answer

Check sysinternals, it is bound to have one that suits your needs. It's not open source, though.

share|improve this answer
1  
I don't recall any file identification tools in the sysinternals family – Journeyman Geek Jun 22 '11 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .