Right click main context menu. How to create New Text Document Notepad

Page 2 of 2 FirstFirst 12

  1. Posts : 41
    Windows10
    Thread Starter
       #11

    Brink said:
    @akkha,


    Would opening Notepad from the context menu instead work for you for this?

    This way you could directly open Notepad, add what you want, and save as a text file.
    No I don't want to open Notepad window immediatly.

    I want default behaviour from Windows 10 -> right click / New / Text Document

    But I wanted in -> right click / New Text Document .

    Thank You
      My Computer


  2. Posts : 17,838
    Windows 10
       #12

    This is too much of a booger to figure out! Probably has something to do with Notepad being a frickin UWP App now!!!

    I'd say, just right click on Desktop/most folders and hit w+t, quickest way I can think of!!!
      My Computer


  3. Posts : 1
    WIN10
       #13

    akkha said:
    No I don't want to open Notepad window immediatly.

    I want default behaviour from Windows 10 -> right click / New / Text Document

    But I wanted in -> right click / New Text Document .

    Thank You
    Save as "Context_Menu_NewTextFileAndOpen.reg" and open it

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Classes\Directory\shell\NewTextFileAndOpen]
    @="New Text File and Open"
    "Icon"=hex(2):22,00,43,00,3a,00,5c,00,74,00,6f,00,6f,00,6c,00,73,00,5c,00,5f,\
      00,49,00,43,00,4f,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,\
      69,00,63,00,6f,00,22,00,00,00
    
    [HKEY_CURRENT_USER\Software\Classes\Directory\shell\NewTextFileAndOpen\command]
    @="cmd /c cd %V & echo.>NewTextFile.txt & start NewTextFile.txt"
    
    
    [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\NewTextFileAndOpen]
    @="New Text File and Open"
    "Icon"=hex(2):22,00,43,00,3a,00,5c,00,74,00,6f,00,6f,00,6c,00,73,00,5c,00,5f,\
      00,49,00,43,00,4f,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,\
      69,00,63,00,6f,00,22,00,00,00
    
    [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\NewTextFileAndOpen\command]
    @="cmd /c cd %V & echo.>NewTextFile.txt & start NewTextFile.txt"
    Go in the Registry and change the ICON (ICO) to your custom icon:
    Code:
    HKEY_CURRENT_USER\Software\Classes\Directory\shell\NewTextFileAndOpen
    HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\NewTextFileAndOpen
    When you don't wan't to open it you can customized to random file:
    Code:
    @="cmd /c cd %V & echo.>NewTextFile_%%random%%_%%date%%.txt

    Image from Windows 10 (1809) Context Menu on Desktop
    Right click main context menu. How to create New Text Document Notepad-newtextfileandopen.jpg



    I've use following information:

    How to Add or Remove New Folder Context Menu in Windows 10
    Add or Remove New Folder Context Menu in Windows 10

    Add Bash Context Menu in Windows 10
    Add Bash Context Menu in Windows 10
      My Computer


 

  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 12:26.
Find Us




Windows 10 Forums