Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On a Windows7 machine I have the need to edit .html files often. Generally when I left click the behavior should be to open up in the browser (as is the behavior which I don't want to alter). However I want to be able to open in a text editor from the file. I would expect I could right click and see an option such as open with. I only see open though as seen here:

enter image description here

How can I make it so that I can open the file with something like a right click without first changing the file extension to .txt? I know I could go to the text editor/open/ grab the file. I'm looking to keep the workflow fast and that slows me down when you do this action hundreds of times a day.

share|improve this question

migrated from stackoverflow.com Mar 27 '13 at 17:47

This question came from our site for professional and enthusiast programmers.

    
This should be on SuperUser, but you have to choose "Choose Default Program" and find the text editor you use. Be sure to uncheck "Set as Default" or whatever it's called. This should add the program to the "Open With..." cascade. –  David Mar 27 '13 at 14:33

4 Answers 4

up vote 5 down vote accepted

Notepad++ (http://notepad-plus-plus.org/)

There are other text editors but I prefer this one. It adds a right click context menu option "Open with Notepad++"

share|improve this answer
    
Lot's of great solutions. I tried them and found I liked this one the most. I should be using a better text editor than notepad anyway. –  Tyler Rinker Mar 27 '13 at 14:43
    
Even if an app doesn't explicitly add a context menu option for your file type, as long as it can open the files you can always add the option yourself via the registry (or any of the various utilities created for this purpose). –  Karan Mar 27 '13 at 23:23

use total commander and you can set notepad++ for editing html

share|improve this answer

Using command line utility assoc Append something like:

.html=txtfile
share|improve this answer

In XP, I used to put a shortcut my editor in the SendTo folder. Not sure if that still works in Win7, though I see SendTo in your screenshot.

Then, any rightclick can do a SendTo editor.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.