如何在Windows 7中删除默认文件关联?

The option to delete a file association is conspicuously absent from file associations user interface in Windows 7, so how can you delete file associations you no longer want? Read on as we explore how to remove a default file association.

Windows 7中的文件关联用户界面上明显没有删除文件关联的选项,那么如何删除不再需要的文件关联呢? 在我们探索如何删除默认文件关联时请继续阅读。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader Christothes writes:

超级用户读者Christothes写道:

I somehow have set the default file type association for a file type in Windows 7. It doesn’t appear to be possible to delete it from the “Change the file type associated with a file extension” options screen. Is it possible to remove it?

我已经以某种方式为Windows 7中的文件类型设置了默认文件类型关联。似乎无法从“更改与文件扩展名关联的文件类型”选项屏幕中将其删除。 是否可以删除它?

While the tool for doing so definitely moved, certainly the option to remove a file association hasn’t vanished completely.

尽管执行此操作的工具肯定已移动,但是删除文件关联的选项当然并没有完全消失。

答案 (The Answer)

SuperUser contributor Peter Mortensen offers the following solution:

超级用户贡献者Peter Mortensen提供以下解决方案:

Find the file extension in question under this key in the registry:

在注册表中的此注册表项下找到有问题的文件扩展名:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ FileExts

Deleting the sub-key with the same name as the extension you want to un-associate will delete the default program association. You’ll have to kill and restart explorer.exe for this to take effect.

删除与您要取消关联的扩展名相同名称的子键将删除默认程序关联。 您必须杀死并重新启动explorer.exe才能生效。

You may also need to remove the same sub key from HKEY_CLASSES_ROOT as well.

您可能还需要从HKEY_CLASSES_ROOT中删除相同的子键。

It takes a little longer to root through the registry in search of the file association key than to use the old file association user interface, but it gets the job done.

与使用旧的文件关联用户界面相比,通过注册表生根来查找文件关联密钥所花的时间要长一些,但是可以完成工作。



Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/171932/how-do-you-remove-a-default-file-association-in-windows-7/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值