windows-reg.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1334 9bf0d5a1f0cf
child 1905 fba288d59662
permissions -rwxr-xr-x
Decrease intent to increase space usage on mobile.
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::
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
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
    17
  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
    18
                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
    19
                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
    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