Search *.reg file to change file association for *.txt extension and/or txtfile type?

pstein

Extraordinary Member
Yes, I could change the file association via Win GUI or use some third party tools.

However I prefer to do this directly in Registry by a *.reg file (in Win 7 64bit).

How can I set my editor "D:\tools\editor\myeditor22.exe" as default editor when double clicking on a file with *.txt extension?

How can I set my editor "D:\tools\editor\myeditor22.exe" as default editor when double clicking on a file of "txtfile" file type?

Again I would like to get the corresponding *.reg script.
And I am not talking about the "Open with" context menu but the double click action.

Peter
 

livix07

Well-Known Member
And I am not talking about the "Open with" context menu but the double click action.
Peter
When you double-click on an item, it will be opened with the application that has been chosen using 'open with' context.
 

Neemobeer

Windows Forum Team
Staff member
Edit isn't the default action so, double clicking the file will import it. Notepad is already the default editor for .reg files.
 
Top