Text preview filters for Vista|Windows 2008

Posted Wed, Jul 23 2008 16:41 by bill

I really like the preview pane in explorer in Vista, but it doesn’t have previews for a lot of text based files registered.  You can of course write your own or download and install some other preview filters, but personally I find a text preview is all I generally need.  So I re-use the existing Text preview handler and apply it to a range of file types including batch files, .bat, xml, .reg files, .vb and .cs files etc.   Just copy and run the following .reg file

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.xml\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.reg\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.cmd\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.bat\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.VBS\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.vb\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.vbproj\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.cs\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.csproj\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.sln\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

[HKEY_CLASSES_ROOT\.snippet\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

Comments

# re: Text preview filters for Vista|Windows 2008

Sunday, July 27, 2008 4:03 AM by Andy Tearle

Excellent ! and the photos of the Farm too !

I have been searching for this info for ever ...

In the event that I chose to use the same instruction to allow me to view ps1 files ... am I leaving myself open to any unintended disasters ? Your advice would be most welcome.

Regards from NZ

and Thanks

Andy.

# re: Text preview filters for Vista|Windows 2008

Tuesday, August 05, 2008 4:38 AM by bill

Hi Andy,

ps1 files being power shell, then yeh the text viewer should do the trick and no side effects.  It doesn't change the file association, jsut the preview handler.  I

Thansk for the comments about the farm pics :)

# More Outlook abuse « Rich Marr’s Tech Blog

Tuesday, January 20, 2009 4:31 AM by More Outlook abuse « Rich Marr’s Tech Blog

Pingback from  More Outlook abuse « Rich Marr’s Tech Blog