RSS

enable ps1 preview in windows 7 preview panel

05 Apr

if you want to enable ps1 preview in windows 7 explorer preview panel, there should be 3 mathod, of course it is same hide behind.

1- previewconfig for windows Vista

yes, it works on windows 7 too.

downlaod it from http://www.winhelponline.com/blog/previewconfig-tool-registers-file-types-for-the-preview-pane-in-windows-vista/

 

2- ps1 script from Bhargav

Script to enable preview pane for PowerShell scripts

3-regedit

the 2 is the same way.

—–

some strange thing, i do not find what is the key modified by 1. it does not change the key as 3.

Advertisements
 
1 Comment

Posted by on April 5, 2010 in Powershell

 

One response to “enable ps1 preview in windows 7 preview panel

  1. thommck

    July 16, 2013 at 19:22

    That’s a great tip. Thanks.
    I chose the regedit way as I don’t trust option 1 or 2!

    This works for all text based script files. I also added the strings to the .VBS extension
    [HKEY_CLASSES_ROOT\.vbs]
    “Content Type”=”text/plain”
    “PerceivedType”=”text”

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: