$cs.Reg_SetString
Syntax
$cs.Reg_SetString(string registryroot, string regkey, string regvalue, string regdata)
Â
Parameters
registryroot
Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)
regkey
Registry keypath
regvalue
Registry value (will be created if not existing)
regdata
Registry string value to write
Â
Example
$cs.reg_setstring("HKLM","SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ImgBurn","DisplayIcon","${env:ProgramFiles(x86)}\Imgburn\ImgBurn.exe")
returns nothing
Â