Documents

REG

Registry functions


Registry hive enum

Syntax

reg.cr	// HKEY_CLASSES_ROOT
reg.cu	// HKEY_CURRENT_USER
reg.lm	// HKEY_LOCAL_MACHINE
reg.u	// HKEY_USERS
reg.cc	// HKEY_CURRENT_CONFIG
Registry value type Enum

Syntax

reg.none	// No data type
reg.sz		// REG_SZ
reg.expand	// REG_EXPAND_SZ
reg.binary	// REG_BINARY
reg.multi	// REG_MULTI_SZ
reg.dword	// REG_DWORD
reg.qword	// REG_QWORD
The function of reading from the Registry.

Syntax

reg(reg.lm, 'SOFTWARE\Microsoft\Windows NT\CurrentVersion','ProductName')

reg(reg.cr, 'txtfile\DefaultIcon')

This page is open source. Noticed a typo? Or something unclear?
Improve this page on GitHub