79

I want to preview .js, .php, and other file extensions as text in explorer on Windows 7.

Any ideas on how I can accomplish this?

studiohack
  • 13,490
John2496
  • 2,209
  • 2
    In the meantime, check out: http://www.howtogeek.com/forum/topic/add-file-types-to-windows-7-preview-pane – ZoogieZork Jan 05 '10 at 20:02
  • 2
  • Press "Win" key 2. Type cmd 3. Press "Ctrl+Shift+Enter" 4. Copy reg add HKLM\SOFTWARE\Classes\.php /v PerceivedType /t REG_SZ /d text 5. Paste in CMD with right click 6. Press "Enter" 7. Repeat from step 4, replacing php with js. Note: If insufficient privileges, replace HKLM with HKCU
  • – s3c Nov 18 '21 at 09:03