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

« Previous Version 3 Next »

Syntax

$cs.Reg_GetExpandString(string registryroot, string regkey, string regvalue)

Parameters

registryroot

Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)

regkey

Registry keypath

regvalue

Registry value to retrieve (empty string for default value)

Example

$filepath=$cs.Reg_GetString("HKU",".DEFAULT\Environment","Path")

returns value as string

  • No labels