如何提取文件的真实扩展名 [英] How to extract real extensions of files
本文介绍了如何提取文件的真实扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,我有几个扩展名未知的文件(比如扩展名为.data的文件)我想创建一个可以提取未知文件真实扩展名的程序 ,任何图书馆和方法请建议,谢谢
解决方案
要么从注册表中获取它们,请参阅
这篇文章,或硬编码,如
GitHub repo
Hello ,I Have several files with unknown extensions(like files with ext .data) I want to make a program which can extract the real extension of unknown files , any libraries and methods Please suggest , Thank you
解决方案
Either get them from the registry see this post, or hard coded as in this GitHub repo.
这篇关于如何提取文件的真实扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文