CRegistry:DeleteKey
The DeleteKey method deletes the entore key or one of its values from the system registry.
CRegistry:DeleteKey() CRegistry:DeleteKey( sValName ) where
|
The following script deletes the entire registry key named sKeyName:
|
|
|
-- open the key and create a CRegistry object |
|
-- delete the "MyVal" value from the key |
The next script opens the key named sKeyName key and deletes two of its values:
|
-- open the key and create a CRegistry object |
|
-- delete the "MyVal" value from the key |
|
-- delete the "AnotherVal" value from the key |