Re: How to detect 2007 vs. 2003 documents?



Hi darrel,

So, we now have docx files littered throughout our site with .doc
extensions.

Is there anyway to tell these files apart from actual 2003 .doc files?

Mine all start with hex 50 4b 03 04
I guess is it a zip header. So you might want to write an app which
finds all *.doc and check the first 4 bytes to rename those to docx
which show the above pattern.

--
SvenC
.



Relevant Pages

  • Re: Word files accidently changed to .doc files
    ... This is how to do it in WinXP; ... the box "Hide extensions for known file types" ... > converted to .doc files. ... How can I change them back to normal Word files ...
    (microsoft.public.word.newusers)
  • converting files wtih headers
    ... The resume template has the staff name and titles are in a header. ... We have a third party indexing utility called Folio that automatically converts the .doc files into .rtf before doing the indexing. ... Our problem is the staff name in the header is not being exported so it does not get indexed. ...
    (microsoft.public.word.pagelayout)
  • converting files wtih headers
    ... The resume template has the staff name and titles are in a header. ... We have a third party indexing utility called Folio that automatically converts the .doc files into .rtf before doing the indexing. ... Our problem is the staff name in the header is not being exported so it does not get indexed. ...
    (microsoft.public.word.docmanagement)

Loading