Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

$cs.Reg_SetString(string registryroot, string regkey, string regvalue, string regdata)

Parameters

registryroot

Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)

...

Registry string value to write

Example

Code Block
languagepowershell
$cs.reg_setstring("HKLM","SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ImgBurn","DisplayIcon","${env:ProgramFiles(x86)}\Imgburn\ImgBurn.exe")

...