Copy the following command to start running.
Reg Add "hkey_classes_root \. txt"/ve/D "txtfile"/F
Reg Add "hkey_classes_root \. txt \ shellnew"/V "nullfile"/F
[The following is the same as above, but the following is manual and the above is automatic]
The right-click menu should be in the registry. Specifically, it is under the hkey_classes_root Root Key (here is the root of all the commands in the right-click menu !). Expand the root key. There are two subkeys: the extension key (. + extension) and the class definition key. Generally, as long as the extension has been registered in the Windows system, there is a "· this extension" subkey under hkey_classes_root.
Add and delete subcommands for creating commands
For example, I want to add "create BMP image" in "right-click" new"
Open "hkey_classes \ Root \. BMP"
Right-click to add a primary key shellnew
Create a new string value nullfile on the right
The value of the string is null.
Right-click the table and check if the table is created. What is more? As for deletion, I don't want you to let me talk about it!