New
#11
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!!!
Save as "Context_Menu_NewTextFileAndOpen.reg" and open it
Go in the Registry and change the ICON (ICO) to your custom icon: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"
When you don't wan't to open it you can customized to random file:Code:HKEY_CURRENT_USER\Software\Classes\Directory\shell\NewTextFileAndOpen HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\NewTextFileAndOpen
Code:@="cmd /c cd %V & echo.>NewTextFile_%%random%%_%%date%%.txt
Image from Windows 10 (1809) Context Menu on Desktop
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