Re: Determining MS Office docs
- From: "prasad" <vpnprasad@xxxxxxxxx>
- Date: 8 Apr 2005 01:40:28 -0700
Hi David,
Thanks a alot...I truly appreciate for taking time in replying. I
found Antiword & word2x sources and trying to find out how they are
making sure they are docs.
I agree with ur comments.
Prasad
David wrote:
> On Thu, 7 Apr 2005 06:36:59 UTC, vpnprasad@xxxxxxxxx wrote:
>
> > Hi,
> > If we have a file, can we look into the content of that file
and
> > say whether its a MS word doc or excel or ppt. I dont want to trust
the
> > extention and want to check if they really are the MS office docs.
> > Do these file types(.doc, .ppt, .xls) have some kind of header
> > where I can read and find out what they are? Or if there is some
other
> > way of finding out pls let me know.
> >
> > I appreciate the help.
> >
> > Regards,
> > Prasad
>
> Hello Prasad,
>
> I'm sure there is. I just can't point you to any recent
documentation
> on the subject. I've seen a few utilities for .doc files that can
> verify the application that created it and identify the version of
> the file format.
>
> I've always wondered why Microsoft chose such an aweful (IMO)
method of
> associating file extensions to applications. While it is helpful to
have
> these associations, it is also very nice to be able to verify or
enforce
> such an association if that ws the intention. The .doc extension has
> been used by many programs over the years. I think it is rather
> monopolistic that the Windows operating systems should prescribe one
> and only one application to a given extension. Why not allow the
> user to generate multiple associations? We might prefer a simple
> .txt file reader for one file and a different application under other
> circumstances. Even under Windows there are many file extensions
that
> have many applications and different formats for the same file
extension.
> It would have been nice if Microsoft had kept that ability in their
> operating systems.
>
> David
.
- Follow-Ups:
- Re: Determining MS Office docs
- From: Rob Thorpe
- Re: Determining MS Office docs
- References:
- Determining MS Office docs
- From: vpnprasad
- Re: Determining MS Office docs
- From: David
- Determining MS Office docs
- Prev by Date: Re: UNIX Script To Remove Hosts from Hosts file
- Next by Date: Re: UNIX Script To Remove Hosts from Hosts file
- Previous by thread: Re: Determining MS Office docs
- Next by thread: Re: Determining MS Office docs
- Index(es):
Relevant Pages
|