如何在不使用文件扩展名的情况下查找文件类型 [英] How to find the File type without using file extension
本文介绍了如何在不使用文件扩展名的情况下查找文件类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有DOCX文件我改变了XLSX文件格式。我如何找到原始文件。例如我尝试签名找出结果,但签名值是SAME 50 4B 03 04 14 00 06 00 DOCX,PPTX,XLSX。请在C#中发送源代码
i have DOCX file i changed the XLSX file format. how i find orginal file. example i try signature to find out result but signature value is SAME 50 4B 03 04 14 00 06 00 DOCX, PPTX, XLSX.Please send the source in C#
推荐答案
如果您只是阅读Office文档,则可以将其打开为zip文件(openxml)。
If you're just read Office docs, you can open them as zip file (openxml).
Word docs contains a word folder
Excel docs contains a xl folder
openxml-container中的
。
in the openxml-container.
这篇关于如何在不使用文件扩展名的情况下查找文件类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文