windows-reg.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1334 9bf0d5a1f0cf
child 1912 8b81a8f0f692
permissions -rwxr-xr-x
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1066
diff changeset
     1
.. -*- coding: utf-8; -*-
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1066
diff changeset
     2
.. include:: HEADER.rst
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
     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
=================
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
 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
     6
=================
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1066
diff changeset
     7
.. contents::
1905
fba288d59662 Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
     8
   :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
     9
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1066
diff changeset
    10
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
    11
==========================================================
1066
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
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    14
  cmd# regedit.exe /s path-to.reg
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    15
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1066
diff changeset
    16
See:
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1066
diff changeset
    17
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
    18
  http://support.microsoft.com/kb/310516
40c825357158 How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
                How to add, modify, or delete registry subkeys and values by
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
                using a registration entries (.reg) file.
40c825357158 How to add, modify, or delete registry subkeys and values by using a registration entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
1066
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    22
Syntax of .Reg Files.
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
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    25
A .reg file has the following syntax::
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    26
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    27
  RegistryEditorVersion
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    28
  Blank line
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    29
  [RegistryPath1]
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    30
  "DataItemName1"="DataType1:DataValue1"
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    31
  DataItemName2"="DataType2:DataValue2"
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    32
  Blank line
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    33
  [RegistryPath2]
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    34
  "DataItemName3"="DataType3:DataValue3"
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    35
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    36
Deleting Registry Keys and Values.
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
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    40
  [-HKEY_LOCAL_MACHINE\Software\Test]
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    41
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    42
  [HKEY_LOCAL_MACHINE\Software\Test]
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    43
  "TestValue"=-
f378e6f4e9e7 Syntax of .Reg Files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1065
diff changeset
    44