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

Page 2 of 2 FirstFirst 12

  1. Posts : 3,427
    Windows 10 Pro x64
       #10

    hannubys said:
    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
    Last edited by Brink; 11 Jun 2010 at 10:59. Reason: added link
      My Computer


  2. Posts : 3
    Windows 10 Home
       #11

    Does this work in Windows 10 & if not is there a different way to achieve the same result?
      My Computer


  3. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #12

    Hello Steve, and welcome to Seven Forums. :)

    Yes, this should work in Windows 10 as well.
      My Computer


  4. Posts : 3
    Windows 10 Home
       #13

    Brink said:
    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 Computer


  5. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #14

    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 Computer


  6. Posts : 3
    Windows 10 Home
       #15

    Brink said:
    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 Computer


  7. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #16

    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 Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About 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 18:45.
Find Us