reg files : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

reg files

Introduction

Instead of using regedit.exe you can compose text files to make modifications to the registry. This method is safer, and you can download fixes from reputable websites rather than making changes by the seat of your pants.

Format

Here is the format of a *.reg file:

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

Lines in the *.reg file are added to or modified in the registry. If you put a minus sign on the beginning of a line, it means remove that entry. Everything after a ; on a line is a comment.

The *.reg file must be stored, not in UTF-8, but UTF-16LE with a BOM (Byte Order Mark).

Using regedit.exe you can back up parts of the registry with File, Export. It is a good idea to back up the part of the registry you are planning to patch.

To merge your *.reg file into the registry, run under administrator, right click on it, and click merge.

Example

Here is a typical *.reg patch, one that fixes explorer if it loses the ability to handle double clicks on directory names:


This page is posted
on the web at:

http://mindprod.com/jgloss/regfiles.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\regfiles.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[44.203.219.117]
You are visitor number