Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Syntax

<dllobject>.Reg_SetExpandString(string registryroot, string regkey, string regvaluen, 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 to write

Example

$cs.Reg_SetExpandString('HKLM','SYSTEM\CurrentControlSet\Control\Session Manager\Environment','Temp','%SystemRoot%\TEMP')

returns nothing

  • No labels