Quote:
Originally Posted by Aleron Ives
Windows uses the extension to determine which program should open the file, but any compression program on Windows will be smart enough to look at the file header when deciding how to decompress it, rather than blindly relying on the extension.
|
In general many programs on Windows that are associated woth multiple file-endings may decide what to do based on file contents. So with some versions of MS Word a .dot file renamed as .doc would still be a .dot file. But the point is that based on the file-ending the Windows OS or Explorer purely decides whether to invoke MS Word or 7zip or Excel or Calibre etc based on the current file endings associations stored in the Registry. Linux and Mac are more complex.