Strange goings on here. For years I had all .txt files configured to open with metapad.exe. Today, they open with Notepad. So, I tried to change the default program in the usual manner, browsed to the metapad.exe file but nothing happens, i.e., the metapad.exe file isn't added to the list of optional programs. Metapad doesn't have an installer; it's a standalone application. So, I replaced the one in /Program Files/Metapad with a fresh one but still no go. I can choose one of the other default apps, e.g., Wordpad and that works.
Any suggestions on how to force Windows to open .txt files with the Metapad app?
Cannot change file association for .txt files??
-
- 2StarLounger
- Posts: 177
- Joined: 25 Jan 2010, 00:50
- Location: Swanzey, NH
Cannot change file association for .txt files??
Jeff
Artificial Intelligence is no match for natural stupidity!
Artificial Intelligence is no match for natural stupidity!
-
- gamma jay
- Posts: 25455
- Joined: 17 Mar 2010, 17:33
- Location: Cape Town
Re: Cannot change file association for .txt files??
Try using the context menu of stead of the default program method.
Go to windows explorer and right click on the .txt file and choose Open with. Select Another program (if the Metapad program is not listed). When the Open with Dialog opens, click Browse and point it to the Metapad.exe file. Choose open and this should configure to use this program.
Go to windows explorer and right click on the .txt file and choose Open with. Select Another program (if the Metapad program is not listed). When the Open with Dialog opens, click Browse and point it to the Metapad.exe file. Choose open and this should configure to use this program.
Last edited by Rudi on 31 May 2010, 15:15, edited 1 time in total.
Regards,
Rudi
If your absence does not affect them, your presence didn't matter.
Rudi
If your absence does not affect them, your presence didn't matter.
-
- Administrator
- Posts: 78524
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Cannot change file association for .txt files??
Alternatively, edit the registry (the usual precautions apply):
- Select Start | Run...
- Type regedit and press Enter or click OK.
- Navigate to HKEY_CLASSES_ROOT\txtfile\shell\open\command in the left-hand page.
- Double-click the Default entry in the right-hand pane.
- Change it to the path and filename of Metapad followed by a space and "%1", e.g.
C:\Program Files\Metapad\Metapad.exe "%1"
- Click OK.
- The change should be effective immediately.
- Select Start | Run...
- Type regedit and press Enter or click OK.
- Navigate to HKEY_CLASSES_ROOT\txtfile\shell\open\command in the left-hand page.
- Double-click the Default entry in the right-hand pane.
- Change it to the path and filename of Metapad followed by a space and "%1", e.g.
C:\Program Files\Metapad\Metapad.exe "%1"
- Click OK.
- The change should be effective immediately.
Best wishes,
Hans
Hans
-
- 2StarLounger
- Posts: 177
- Joined: 25 Jan 2010, 00:50
- Location: Swanzey, NH
Re: Cannot change file association for .txt files??
@Rudi: and no go.
@Hans: Worked perfect. I'm not going to even think of how this happened, hehe.
@Hans: Worked perfect. I'm not going to even think of how this happened, hehe.
Jeff
Artificial Intelligence is no match for natural stupidity!
Artificial Intelligence is no match for natural stupidity!
-
- gamma jay
- Posts: 25455
- Joined: 17 Mar 2010, 17:33
- Location: Cape Town
Re: Cannot change file association for .txt files??
Love that banner Jeff...
Pretty cool!
Glad Hans's post solved it. Cheers
Pretty cool!
Glad Hans's post solved it. Cheers
Regards,
Rudi
If your absence does not affect them, your presence didn't matter.
Rudi
If your absence does not affect them, your presence didn't matter.