/
$cs.Reg_SetString
$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
, multiple selections available,
Related content
$cs.Reg_SetDword
$cs.Reg_SetDword
More like this
$cs.Shell_Execute
$cs.Shell_Execute
Read with this
$cs.Reg_SetString
$cs.Reg_SetString
More like this
$cs.Reg_SetExpandString
$cs.Reg_SetExpandString
More like this
$cs.Reg_SetQword
$cs.Reg_SetQword
More like this
$cs.Reg_SetDword
$cs.Reg_SetDword
More like this