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.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=================
 Registry files.
=================
.. contents::
   :local:

How to add, modify, or delete registry subkeys and values.
==========================================================
::

  cmd# regedit.exe /s path-to.reg

See:

  http://support.microsoft.com/kb/310516
                How to add, modify, or delete registry subkeys and values by
                using a registration entries (.reg) file.

Syntax of .Reg Files.
=====================

A .reg file has the following syntax::

  RegistryEditorVersion
  Blank line
  [RegistryPath1]
  "DataItemName1"="DataType1:DataValue1"
  DataItemName2"="DataType2:DataValue2"
  Blank line
  [RegistryPath2]
  "DataItemName3"="DataType3:DataValue3"

Deleting Registry Keys and Values.
==================================
::

  [-HKEY_LOCAL_MACHINE\Software\Test]

  [HKEY_LOCAL_MACHINE\Software\Test]
  "TestValue"=-