Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Open with Notepad - Add or Remove from Context Menu of Files

11 Jun 2010   #10
severedsolo

Windows 7 Ultimate X64 SP1
 
 

Quote   Quote: Originally Posted by hannubys View Post
How to do it for some file extensions like .xml .nfo. .txt but not all files ?
right click a file of the type you want to change, go to Open With and click Change Default Program click browse and go to C:\Windows\System32\Notepad.exe make sure "use this program for all files of this type" is checked

Open With - Change Default Program

OR

Default Programs - Associate a File Type or Protocol


My System SpecsSystem Spec
02 Sep 2015   #11
SteveW

Windows 10 Home
 
 

Does this work in Windows 10 & if not is there a different way to achieve the same result?
My System SpecsSystem Spec
03 Sep 2015   #12
Brink

64-bit Windows 10 Pro
 
 

Hello Steve, and welcome to Seven Forums.

Yes, this should work in Windows 10 as well.
My System SpecsSystem Spec
03 Sep 2015   #13
SteveW

Windows 10 Home
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Steve, and welcome to Seven Forums.

Yes, this should work in Windows 10 as well.
thanks. so i tried it & it shows in the context menu but when i click it i get an error saying "This file does not have a program associated with it for performing this action."
My System SpecsSystem Spec
.

03 Sep 2015   #14
Brink

64-bit Windows 10 Pro
 
 

Steve,

I just tested it on my 64-bit Windows 10 Pro, and it's working without issue.

What file type (ex: .reg) does this happen with? All, or a specific one?

As a test, see if this works below to open it with Notepad. If not, then there's some sort of association issue.
  1. Right click on file.
  2. Click on Open with.
  3. Select Notepad.
My System SpecsSystem Spec
07 Sep 2015   #15
SteveW

Windows 10 Home
 
 

Quote   Quote: Originally Posted by Brink View Post
Steve,

I just tested it on my 64-bit Windows 10 Pro, and it's working without issue.

What file type (ex: .reg) does this happen with? All, or a specific one?

As a test, see if this works below to open it with Notepad. If not, then there's some sort of association issue.
  1. Right click on file.
  2. Click on Open with.
  3. Select Notepad.
It's on all files. I did your test, and it opened in Notepad. However, when clicking Open with, then clicking Choose another app, I got the same error message. I then used the fix you wrote about at Open with "Choose default program" Error - Fix and it fixed it. The Open with Notepad is still throwing the error.
My System SpecsSystem Spec
07 Sep 2015   #16
Brink

64-bit Windows 10 Pro
 
 

I must admit that I'm not sure what's causing this other than some sort of association issue.

Did you use some sort of registry cleaning program by chance?

If you know when you started to get these errors, you could do a system restore using a restore point dated before they started to hopefully sort it.

System Restore
My System SpecsSystem Spec
Comment

 Open with Notepad - Add or Remove from Context Menu of Files




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
Open With Context Menu Item - Add or Remove
How to Add or Remove the "Open with" Context Menu Item in Windows This will show you how to add or remove the Open with right click context menu item of all files in Vista, Windows 7, and Windows 8. You must be logged in as an administrator to be able to do the steps in this tutorial. A...
Tutorials
Open in New Process - Add or Remove from Context Menu
How to Add or Remove "Open in new process" from Context Menu in Windows 7 and Windows 8 This will show you how to add or remove Open in new process from the context menu for all users when you press and hold the shift key and right click on folders and drives in Windows 7 and Windows 8. You...
Tutorials
notepad context menu
Anybody know where this cont menu is? I think I used to know but have forgotten.
Customization
Notepad++ and the context menu
Running Windows 7 64-bit and just installed Notepad++ (v5.5.1) using the exe installer package. The context menu entry "Edit with notepad++" is not showing up. Also tried the manual method of running the reg.bat file to add the menu entry which also did not work. Anyone else run into this...
Software
Notepad++ and the context menu.
So I just reinstalled Home Premium 7 then applied the Home Premium to Professional "Anytime Upgrade". I then installed my favorite little text editor Notepad++ and everything appears to be working well except that Notepad++ is not showing up in the context menu as "Open with Notepad++". ...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App