Can I modify the Windows 7 preview pane so HTML files display just the text in the preview instead of rendering the html?

后端 未结 3 1361
独厮守ぢ
独厮守ぢ 2021-02-09 21:31

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

3条回答
  •  渐次进展
    2021-02-09 22:02

    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.

    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}

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

提交回复
热议问题