Save the content below to the batchcompute file, and then store the file in the directory where notepadcmd.exe is located. Double-click it to run it.
File Content:
@ Echo offtitle automatically adds the clscolor 0 becho option in the right-click menu for notepad. You can modify the variable of the execution file as needed. The directory path will automatically obtain the echo and automatically uninstall the file, when you do not need it, you can clear the added registry content. Ping 127.1-N 3> nul rem theexe and right-click the execution file to be added, taking notepad ++ as an example, Rem themenu is the content that is added to the right-click display. Taking notepad ++ as an example, Rem theU is the file name that generates the delete batch processing, generally, you do not need to change set theexe+notepad+.exe set themenu = n. You can use Notepad ++ to edit set theU = and right-click to delete the file. batreg add hkcr \ * \ shell \ % themenu % \ command/ve/T REG_SZ/D "\" % Cd % \ % theexe % \ "% 1"/F> nulecho operation complete Ping 127.1-N 3> NUL echo start generating Delete right-click batch processing Ping 127.1-N 3> nulecho @ echo off> % theU % echo title welcome to http://oneyicn.gobaiyi.com, adding the right-click function...> % theU % echo CLS >>%theu % echo color 0b >>%theu % echo Reg Delete hkcr \ * \ shell \ % themenu %/F >>%theu %