注册表增加、删除子项或值

时间:2022-10-30 15:35:57

增加值(同时也会自动创建子项):

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.3gp\test]
"test"="hello"

 

 删除值(只需在值改成“-”):

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.3gp\test]
"test"=-

 

 增加子项:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.3gp\test]

 

 删除子项(只需在项前加“-”):

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.3gp\test]