This method of the RegKey class replaces the file supporting a key and all its subkeys with another file. The next time the system is started, the key and subkey values are stored in the new file.
public void replace(String subKey, String newFile, String oldFile);
subKey | The subkey, whose values are stored in the new file. |
newFile | The name of the new file. |
oldFile | The name of the old file. |