Core Function RegRead

From Sputnik Wiki
Revision as of 22:53, 27 April 2012 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RegRead( <key>, <value>, <default> )

Contents

Description

Reads a value from the registry

Parameters

key

The registry key to read.

value

The value to read.

Return Value

Success: Returns the correct type of data if available.

Failure: Returns 0 if error occurs.

Remarks

None.

Example

my $var = RegRead(@"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion", @"ProgramFilesDir");
MsgBox("Program files are in: $var");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox