Files
Shell/docs/functions/reg.html
T

30 lines
896 B
HTML

<h5>REG</h5>
<p>Registry functions</p>
<br>
<section id="registry-hives" class="my-5">
<h5>Registry hive enum</h5>
<p>Syntax</p>
<pre><code>reg.cr // HKEY_CLASSES_ROOT
reg.cu // HKEY_CURRENT_USER
reg.lm // HKEY_LOCAL_MACHINE
reg.u // HKEY_USERS
reg.cc // HKEY_CURRENT_CONFIG</code></pre>
</section>
<section id="registry-types" class="my-5">
<h5>Registry value type Enum</h5>
<p>Syntax</p>
<pre><code>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</code></pre>
</section>
<section id="reg-function" class="my-5">
<h5>The function of reading from the Registry.</h5>
<p>Syntax</p>
<code>reg(reg.lm, 'SOFTWARE\Microsoft\Windows NT\CurrentVersion','ProductName')</code><br><br>
<code>reg(reg.cr, 'txtfile\DefaultIcon')</code>
</section>