author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 10 Feb 2018 01:49:07 +0200 | |
changeset 2230 | 9e6ad6607a9e |
parent 2228 | 837f1337c59b |
permissions | -rwxr-xr-x |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1066
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
1065
40c825357158
How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
40c825357158
How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
================= |
40c825357158
How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
Registry files. |
40c825357158
How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
================= |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1066
diff
changeset
|
6 |
.. contents:: |
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
7 |
:local: |
1065
40c825357158
How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
|
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1066
diff
changeset
|
9 |
How to add, modify, or delete registry subkeys and values. |
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1066
diff
changeset
|
10 |
========================================================== |
1066
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
11 |
:: |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
12 |
|
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
13 |
cmd# regedit.exe /s path-to.reg |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
14 |
|
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1066
diff
changeset
|
15 |
See: |
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1066
diff
changeset
|
16 |
|
2228
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
17 |
http://support.microsoft.com/kb/310516 |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
18 |
How to add, modify, or delete registry subkeys and values by |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
19 |
using a registration entries (.reg) file. |
1065
40c825357158
How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
20 |
|
1066
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
21 |
Syntax of .Reg Files. |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
22 |
===================== |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
23 |
|
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
24 |
A .reg file has the following syntax:: |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
25 |
|
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
26 |
RegistryEditorVersion |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
27 |
Blank line |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
28 |
[RegistryPath1] |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
29 |
"DataItemName1"="DataType1:DataValue1" |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
30 |
DataItemName2"="DataType2:DataValue2" |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
31 |
Blank line |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
32 |
[RegistryPath2] |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
33 |
"DataItemName3"="DataType3:DataValue3" |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
34 |
|
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
35 |
Deleting Registry Keys and Values. |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
36 |
================================== |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
37 |
:: |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
38 |
|
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
39 |
[-HKEY_LOCAL_MACHINE\Software\Test] |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
40 |
|
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
41 |
[HKEY_LOCAL_MACHINE\Software\Test] |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
42 |
"TestValue"=- |
f378e6f4e9e7
Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1065
diff
changeset
|
43 |