Determining File Format

Last update on December 28, 2008 09:31 AM by deri58
Published by deri58

Determining File Format






The simplest method for determining the type of a file is to see its extension.But it may happens that sometimes the extension does not match or that the file has no extension, in the case of a transfer error in an e-mail.

There are utilities to determine the type of a file from its content. These tools are usually based on a database called "Magic database file format."

FileID


This tool used command line i to retrieve the file format among many formats known.

To use, simply:

Download fileid
http://www.optimasc.com/products/fileid/index.html
Decompress binaries for Windows in a directory
Then launch the console: start/run/

cmd


Finally run the following command:

file "name of file" -m magic.db -d

TrID


TRID works similarly to FileID. To use:

Download TRID
http://mark0.net/soft-trid-e.html
Unpack binaries for Windows in a directory
Launch the console: start / run /

cmd


Finally run the following command:

trid "filename" 
Best answers for « Determining File Format » in :
How to Open/Read a DVI file format on Windows? Show How to Open/Read a DVI file format on Windows? DVI is a format description document independent media (like PDF). (DVI Device Independent =) It is generally created from LaTeX file. Tex On Windows, you can install MiKTeX, which...
Create and Open a RAR file ShowCreate and Open a RAR file *How to create a RAR file *How to open a RAR file RAR is an archive file format that is used during data compression, error recovery and file spanning. RAR is the acronym for Roshal Archive, inspired by...
Thunderbird mail moved as .eml file format ShowThunderbird mail moved as .eml file format It may happen that when you send e-messaging containing attachments, the recipient received the email containing a file under the extension .eml which cannot be opened. Solution for sender:...
IZArc – Tools for compressinng and decompressing files format ShowIZArc – Tools for compressinng and decompressing files format IZArc2Go- Portable version IZArc is a file archiver for Microsoft Windows supporting multiple archive formats. With an easy and friendly graphical interface, this...
Download Total Video Converter ShowDescription: Total Video Converter is a converter that converts video and audio files. It will allow you to convert your video files for your mobile phones, PSP, PS3, iPod, iPhone, etc. It can read various video file formats like mpeg, avi, mov, flv...
GIF format ShowGIF format The GIF format (Graphic Interchange Format) is a bitmap (raster) graphic file format developed by Compuserve. There are two versions of this file format developed respectively in 1987 and 1989: GIF 87a supporting LZW compression,...
File formats and extensions ShowWhat is a MIME type? The MIME type (Multipurpose Internet Mail Extensions) is a standard that was proposed by the Bell Communications laboratories in 1991 to broaden the possibilities of email, involving insertion of documents (images, sounds and...
Graphic file formats ShowWhat is a file format? We previously learned the way in which an image was coded to be shown on a monitor, however, when we want to store an image in a file, this format is not the most practical… Indeed, we may want an image which takes up less...