我可以修改Windows 7预览窗格,以便HTML文件仅在预览中显示文本,而不呈现html吗? [英] Can I modify the Windows 7 preview pane so HTML files display just the text in the preview instead of rendering the html?

查看:186
本文介绍了我可以修改Windows 7预览窗格,以便HTML文件仅在预览中显示文本,而不呈现html吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在资源管理器中单击html文件时,预览窗格当前尝试呈现用于预览的html.我希望这种行为仅向我显示文本而不解释标签.有没有办法通过弄乱注册表或在某个地方更改设置来做到这一点?

When I click on html files in explorer the preview pane currently tries to render the html for the preview. I'd like the behavior to just show me the text without interpreting the tags. Is there a way to do this by messing with the registry or changing a setting somewhere?

推荐答案

好吧,我最终弄清楚了如何做到这一点.上面发布的内容很接近,但不完全是因为我要编辑错误的值. PreviewConfig实用程序也尝试更改错误的密钥,但由于被锁定而无法更改.我最终花了很长时间才能启用对锁定的注册表项的编辑,这是在我意识到那是错误的地方的时候.

Alright, I ended up figuring how to do this. What was posted above was close but not quite as that was having me edit the wrong values. The PreviewConfig utility was trying to change the wrong key as well but couldn't since it was locked. I ended up going through a long process to enable editing of the locked registry key which is when I realized that was the wrong place.

如果要让预览窗格显示HTML文件的纯文本而不是呈现它,请打开注册表编辑器并转到:

If you want to have the preview pane show plain text for HTML files instead of rendering it, open the registry editor and go to:

HKEY_CLASSES_ROOT\htmlfile\shellex\{8895B1C6-B41F-4C1C-A562-0D564250836F}

编辑默认密钥,然后将值替换为{1531d583-8375-4d3f-b5fb-d23bbd169f22},您将被设置.

Edit the Default key and replace the value with {1531d583-8375-4d3f-b5fb-d23bbd169f22} and you should be set.

这篇关于我可以修改Windows 7预览窗格,以便HTML文件仅在预览中显示文本,而不呈现html吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆