nt::RegWrite "HKLM\\Software\\ScriptBasic\\config",value
This function writes the value of a registry value. The key should already exist. If the key is non-existent or the value is not alterable by the program the function raises error that the programmer should capture using the ON ERROR GOTO statement.