📎 AI Summary:
The thread discusses how to set a custom editor (located at "D:\tools\editor\myeditor22.exe") as the default application for opening .txt files via double click in Windows 7 64-bit. The original poster wants to achieve this directly through editing the Registry with a .reg file, rather than using the "Open with" context menu. Responses clarify that double-clicking a file uses the default open action set in Windows, and that editing the Registry to change this behavior involves modifying specific file association entries, but overall, the discussion acknowledges the need to adjust default actions beyond just "Open with" settings.

pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
Thread Author #1
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

Honorable Member
Joined
Feb 19, 2018
Messages
585
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
Joined
Jul 4, 2015
Messages
8,995
Edit isn't the default action so, double clicking the file will import it. Notepad is already the default editor for .reg files.