HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-16-2007, 02:58 PM
Ant
 
Posts: n/a
Default File ID program?

Hello!

In Linux, I use "file" command to identify files for their format types.
Does one exist in Windows XP and other Windows versions?

Thank you in advance.
--
"Whenever I see an old lady slip and fall on a wet sidewalk, my first
instinct is to laugh. But then I think, what if I was an ant, and she
fell on me. Then it wouldn't seem quite so funny." --Saturday Night Live
FAQ: Deep Thoughts
/\___/\
/ /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Ant is currently not listening to any songs on his home computer.
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 11-16-2007, 03:26 PM
Anando [MVP]
 
Posts: n/a
Default Re: File ID program?

Ummm...if you want to determine the file format in Windows XP, why dont you just right-click on the
file and select properties. That will tell you the file format and a lot more about the specific
file. Is there something else that you are looking for ?

--
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp


My Blog
http://www.anando.org/blog

"Ant" <philpi@earthlink.netANT> wrote in message news:eYALKmGKIHA.5860@TK2MSFTNGP04.phx.gbl...
> Hello!
>
> In Linux, I use "file" command to identify files for their format types. Does one exist in Windows
> XP and other Windows versions?
>
> Thank you in advance.
> --
> "Whenever I see an old lady slip and fall on a wet sidewalk, my first instinct is to laugh. But
> then I think, what if I was an ant, and she fell on me. Then it wouldn't seem quite so
> funny." --Saturday Night Live FAQ: Deep Thoughts
> /\___/\
> / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
> | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
> \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
> ( ) or ANTant@zimage.com
> Ant is currently not listening to any songs on his home computer.



Reply With Quote
  #3  
Old 11-16-2007, 04:37 PM
Tim Slattery
 
Posts: n/a
Default Re: File ID program?

Ant <philpi@earthlink.netANT> wrote:

>Hello!
>
>In Linux, I use "file" command to identify files for their format types.
>Does one exist in Windows XP and other Windows versions?


No.

The first few bytes in most Unix/Linux files have some kind of
signature that the "file" utility reads and interprets. Very few PC
files have such a thing. (Executable files, including *.exe and *.dll
do.) So a "file" utility would have very little to work with.

In this world, the file type is supposed to be given by the extension.
In Windows, the OS looks the extension up in the registry to determine
which program should be used to open a file. Some file types are well
known: *.txt, *.doc, *.xls, *.jpg, *.png, etc. Others are pretty
meaningless: *.dat is used by a number of programs for *totally*
different files. What they generally have in common is that they are
opened by the programs as needed, you never open them directly.
(Somebody will now come up with an exception.)

There is a list of many file extensions here:
http://mistupid.com/computers/filetypes.htm. I'm sure there are web
sites with more complete lists available.

--
Tim Slattery
MS MVP(Shell/User)
Slattery_T@bls.gov
http://members.cox.net/slatteryt
Reply With Quote
  #4  
Old 11-17-2007, 04:26 AM
Ant
 
Posts: n/a
Default Re: File ID program?

On 11/16/2007 8:26 AM PT, Anando [MVP] typed:

> Ummm...if you want to determine the file format in Windows XP, why dont you just right-click on the
> file and select properties. That will tell you the file format and a lot more about the specific
> file. Is there something else that you are looking for ?


Sorry, I forgot to say with a command line.
--
"When I am at my lowest, that is when I see things the clearest. It's
hard to care about ants when you're soaring with eagles." --unknown
/\___/\
/ /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Ant is currently not listening to any songs on his home computer.
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Program Accessing File Only Mack Windows Vista 5 11-11-2007 09:44 PM
This file does not have a program associated with it Jen Microsoft Office 1 10-23-2007 08:46 AM
Opening Word or Excel file from file shortcut opens Word or Excel program, but not the file betel11geuse@gmail.com Microsoft Office 1 10-01-2007 01:31 PM
USB to USB file transfer program? A S Garcia Windows XP 3 07-16-2007 04:21 PM
WHAT PROGRAM AND FILE TYPE DO I USE mar Windows XP 6 07-16-2007 12:43 PM


All times are GMT. The time now is 06:41 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger