This section describes how you can interact with the operating system.
exec(<commandLine>);
Executes the specified command line.
1.0Expands environment variables.
$data=readfile(<path>);
Returns the contents of the specified file as a string (which is empty when the file is not found).
Note that this function is only intended for reading little text files. It does not return more than 32 KByte of data.
$data=readreg(<branch>,<path>);
Returns the contents of the specified registry key as a string (which is empty when the key is not found).
Parameters:
| Parameter | Required | Type | Value | Meaning |
|---|---|---|---|---|
| <branch> | YES | PREDEFINED | HKCR | The name of the addressed root branch. |
| HKCU | ||||
| HKLM | ||||
| HKU | ||||
| HKCC | ||||
| <path> | YES | STRING | A path | The path of the addressed key. |