home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 May
/
Chip_1998-05_cd.bin
/
sharewar
/
far
/
FARREG11.ZIP
/
REGISTRY.HLF
< prev
next >
Wrap
Text File
|
1997-10-20
|
7KB
|
198 lines
.Language=English,English
.PluginContents=Registry Browser Plugin
@Contents
$ #Registry Browser Plugin#
~Description~@Description@
~Keyboard Commands~@Keyboard@
~Copy/Move Implementation~@CopyMove@
~Creating New Keys and Values~@CreateNew@
~Deleting Keys and Values~@Delete@
@Description
$ #Description#
This plugin allows you to do with registry keys and variables exactly the
same things as with directories and files.
There are two ~operation modes~@Modes@: "keys as directories" and "keys as files".
The keys treated as files have the standard .REG format; REGEDIT.EXE
is called automatically to transform keys to files and to import them back
to registry (when editing or copying).
Import and export of single variables is done by the plugin itself
by usual file I/O operations. For string variables, the trailing zero is
truncated on export and added on import.
Values of all variables and default values of all keys are shown in the
standard Descriptions column. Binary values are converted to readable form.
Under Windows NT, the key owners are also shown in the standard Owner column.
Two panel modes are overridden, 6 and 7. Default sort mode is Unsorted.
Prefix #reg:# can be used to get into the plugin from command line or user menu,
for example:
@-
C:\>reg:HKEY_CURRENT_USER\Software\Far
@+
You can see everything by yourself if you experiment pressing F3 or F4
on registry keys and values.
#Basic advantages over regedit.exe#
1. You can edit keys as text files with FAR built-in editor or with any other
text editor (using file associations) with automatic export and import.
2. You can work with binary values from any binary editor (using file associations).
3. Directly jump to a key by its path pasted from clipboard (using command "cd")
quick jump to predefined keys using FAR user menu or keyboard macros.
4. Default values for all keys are displayed simultaneously.
Numerical values are displayed in readable format.
5. Integration with FAR (copying keys to the other panel, sorting etc.).
6. Under Windows NT: display of the key's owner (it's also done by
regedt32.exe) and auto-refreshing.
7. The plugin remembers its last position.
8. You can change the values type.
@Keyboard
$ #Keyboard Commands#
In addition to standard FAR keys, Registry Browser provides its own keys:
@-
#Ctrl-A# Look/change ~value type~@ChType@.
#Ctrl-G# Put the value from Descriptions column to the command line.
#Ctrl-N# Toggle display of binary values in the Descriptions column:
hex dump / decimal number - for four-byte values,
hex dump / ASCII string - for other non-string values.
#Shift-F1# Go to HKEY_CURRENT_USER\Software\Far.
#Shift-F2# Go to HKEY_LOCAL_MACHINE\Software\Far.
#Shift-F7# Toggle between ~"Keys as files" / "Keys as directories"~@Modes@.
#See the documentation for more info!#
@WinError
$ #Windows Error#
This message is shown by Registry Browser when any Windows error is encountered.
The message text is provided by Windows.
@ChType
$ #Change Value Type#
In this dialog box you can change the type of the current registry value.
If you don't know why you may need it, you don't need it :)
When this dialog box pops up, the current value type is selected
initially. Thus, you can use this command just to look up the value type.
#Don't change the type if you don't know exactly what you do!#
Note: this command works only on single keys. No group operation in this
version.
@-
Possible Types:
---------------
None No defined value type.
String A null-terminated string.
Expanded String A null-terminated string that contains
unexpanded references to environment
variables (for example, "%PATH%").
Binary Binary data in any form.
DWORD A 32-bit number (in little-endian format).
DWORD Big Endian A 32-bit number in big-endian format.
Link A Unicode symbolic link.
Multi-String An array of null-terminated strings,
terminated by two null characters.
Resource List A device-driver resource list
in the resource map.
Full Resource Descriptor Resource list in the hardware description.
@+
@Modes
$ #Operation modes#
There are two operation modes of the plugin:
#Keys as files.# The keys can be distinguished from variables only if
displaying sizes is enabled, the size of keys displayed is 0. Regedit is
used to export keys as files.
Disadvantages of this mode: since FAR doesn't allow to intercept Ctrl-PgDn,
this key cannot be used to get into a registry key like into a directory.
To do this, use <Enter> or "cd" command. Moreover, it's hard to see the
difference between keys and values in the panel.
#Keys as directories.# Ctrl-PgDn works here. Keys are color-highlighted properly
(if files highlighting is enabled in FAR) and displayed, according
to sorting rules, before the values. View/Edit work exactly like in the "keys as
files" mode, but their windows are modal.
Disadvantages of this mode are: (1) viewing/editing keys are possible
only in modal windows, that is, no window switching if a key is viewed/edited;
(2) the built-in key NumPad5 doesn't work. But you can redefine it using
a macro which "presses" F3 when you press NumPad5.
In most cases, the "Keys as directories" mode is recommended.
To toggle between these modes, press Shift-F7.
@CopyMove
$ #Copy/Move#
#Copy.#
In this version, everything entered in copy dialog is considered as a
directory name. If the directory does not exist, it is created. In the
"keys as directories" mode, the keys are still exported as .REG files rather than
copied as trees of files made of values.
#Move.#
Move is not implemented (do you really need it?). Instead, Copy works only.
@CreateNew
$ #Creating new keys and values#
You can create empty keys with F7, like usual directories.
You can create new values either pressing Shift-F4, specifying the name of your
new value and editing it, or copying a previously created file with the same
name into the registry.
If the imported file has .REG file format (begins with REGEDIT4), then the
file name doesn't matter, and regedit.exe is launched to import it.
If the file imported as a new value is either empty or contains characters
beyond the 0x20..0x7e range, then the type of the new value is String,
otherwise it's Binary. If you need to create variables of another type, such
as DWORD, you can create the value as proposed and change its type with the
~Ctrl-A~@ChType@ command, or edit the parent key (in .reg format).
@Delete
$ #Deleting Keys And Values#
When deleting a whole key, confirmation is asked only #once#, like on a usual
file. (Like regedit does, to the point.) If there are both a key and a value
under the same name, then the value is deleted. (This version can distinguish
between keys and values only by name.)
Under Windows 95+, keys containing subkeys are deleted OK, under NT
they are not deleted; you will have to remove all their subkeys.