Reputation: 165
I just found out that Windows Explorer has a preview pane which can view different types of files. For example, my version came with ".txt" and ".xlsx" files enabled for previewing. This is really useful for looking at a directory full of text or spreadsheet files.
I followed a procedure I found on the web to enable previewing other types of files as well, including ".log" and ".list", and code files like ".bas", ".cls", and ".frm" (VBA). To do this, I just added the string item "PerceivedType" as "text" to the registry key for each type under Classes Root.
Unfortunately, even though I configured ".bas" in exactly the same fashion as the others, Explorer insists there's "No preview available". I carefully checked the registry settings and I'm certain there's no difference in the ones I've found that seem to be relevant. I also tried this on a Windows 10 machine with the same results.
So I must be missing something.
Any suggestions on where to look to fix this?
Upvotes: 0
Views: 163
Reputation: 3317
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.ext]
@="extfile"
[HKEY_CLASSES_ROOT\extfile]
@="ext file"
[HKEY_CLASSES_ROOT\extfile\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"
Upvotes: 1