open with notepad context menu


  1. Posts : 14
    7
       #1

    open with notepad context menu


    Code:
    ;notepad
    [HKEY_CLASSES_ROOT\*\shell]
    @="\"notepad.exe %1\""
    [HKEY_CLASSES_ROOT\*\shell\open]
    @="Open &With Notepad"
    [HKEY_CLASSES_ROOT\*\shell\open\command]
    @="notepad.exe %1"
    the above dont seem to give me open with notepad in context menu unlike in win7. any ideas?
      My Computer


  2. Posts : 22,740
    Windows 10 Home x64
       #2

    This code works fine for me in 10:

    Code:
    Windows Registry Editor Version 5.00 
    [HKEY_CLASSES_ROOT\Directory\Background\shell\NotePad]
    @="&Note Pad"
    "Icon"="C:\\Windows\\System32\\notepad.exe"
    "Position"="Top"
     
    [HKEY_CLASSES_ROOT\Directory\Background\shell\NotePad\command]
    @="C:\\Windows\\System32\\notepad.exe"
      My Computer


  3. Posts : 14
    7
    Thread Starter
       #3

    BunnyJ said:
    This code works fine for me in 10:

    Code:
    Windows Registry Editor Version 5.00 
    [HKEY_CLASSES_ROOT\Directory\Background\shell\NotePad]
    @="&Note Pad"
    "Icon"="C:\\Windows\\System32\\notepad.exe"
    "Position"="Top"
     
    [HKEY_CLASSES_ROOT\Directory\Background\shell\NotePad\command]
    @="C:\\Windows\\System32\\notepad.exe"
    I want to see "open with notepad" when i right click an item. your code simply opens notepad when right clicking in on a non-item.
      My Computer


  4. Posts : 42,634
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Hi, try Open++ if what you are trying to do is to add an item to 'Open With'.
    Open++ Download - Softpedia

    (I see Notepad as an option now anyway).
      My Computers


  5. Posts : 68,543
    64-bit Windows 11 Pro for Workstations
       #5
      My Computers


  6. Posts : 436
    Windows 10 Pro 64-bit
       #6

    Brink said:
    Can this be used to add Edit with Photoshop for image files?
      My Computer


  7. Posts : 68,543
    64-bit Windows 11 Pro for Workstations
       #7

    Sure, just edit the .reg file with the path of the .exe file you want to use instead.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:17.
Find Us




Windows 10 Forums