从资源管理器获取文件扩展名 [英] getting name of a file extension from explorer
本文介绍了从资源管理器获取文件扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你如何获得类型?来自资源管理器的文件?如果我想知道扩展名.DOC的类型是什么,那就是Micrsoft
Word文档。在资源管理器中,我该怎么做?我只想得到名称
的扩展名。我没有物理文件可供参考,我
只想制作一个类似的列表在资源管理器文件夹中的一个
文件类型选项卡下的
选项。谢谢!
How do you go about getting the "type" of a file from explorer? Say if I
want to know what the type for the extension .DOC was, which is "Micrsoft
Word Document" in explorer, how would I do this? I just want to get the name
of the extension.. I do not have the physical file to reference for this, I
just want to make a listing similar to that of the one in explorer''s folder
options under the file types tab. Thanks!
推荐答案
它在HKEY_Classes_Root下的注册表中
-
2004和2005 Microsoft MVP C#
Robbe Morris
http: //www.masterado.net
赚取
It is in the registry under HKEY_Classes_Root
--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net
Earn
钱回答.NET Framework
留言板帖子在EggHeadCafe.com。
http://www.eggheadcafe.com /forums/merit.asp
" Brian Henry" <无**** @ nospam.microsoft.com>在消息中写道
新闻:OI ************** @ TK2MSFTNGP15.phx.gbl ...
money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp
"Brian Henry" <no****@nospam.microsoft.com> wrote in message
news:OI**************@TK2MSFTNGP15.phx.gbl...
你怎么去得到类型来自资源管理器的文件?如果我想知道扩展名.DOC的类型是什么,那就是Micrsoft
Word文档。在资源管理器中,我该怎么做?我只是想得到扩展名的
名称。我没有参考的物理文件
这个,我只是想制作一个类似于
的列表。 explorer'文件类型选项卡下的文件夹选项。谢谢!
How do you go about getting the "type" of a file from explorer? Say if I
want to know what the type for the extension .DOC was, which is "Micrsoft
Word Document" in explorer, how would I do this? I just want to get the
name of the extension.. I do not have the physical file to reference for
this, I just want to make a listing similar to that of the one in
explorer''s folder options under the file types tab. Thanks!
它在HKEY_Classes_Root下的注册表中
-
2004年和2005年Microsoft MVP C#
Robbe Morris
http:// www.masterado.net
赚取
It is in the registry under HKEY_Classes_Root
--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net
Earn
这篇关于从资源管理器获取文件扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文