Previous Topic: DESKTOPPATHNext Topic: Destination


DeleteValue

DeleteValue

Deletes a value from the registry or ini files. Returns False if there were problems deleting the value. If the value does not exist, it will return True.

First parameter:

The Key path (string value)

Second parameter:

The Value Name (string value)

Example:
DeleteValue( "HKCU\\Software\\MyApp", "SomeValue");
DeleteValue( "c:\\windows\\win.ini\", "SomeValue");