* regtool.cc (Fail): Be more verbose.

(find_key): Add support for remote registry access.
	(usage): Document it.
	* utils.sgml: Document it.
This commit is contained in:
Corinna Vinschen
2002-06-07 11:12:16 +00:00
parent 9d0efbb3ae
commit 381fb8baa1
3 changed files with 71 additions and 21 deletions

View File

@@ -710,12 +710,15 @@ Regtool Copyright (c) 2000 Red Hat Inc
regtool [-v] unset [key\value] - removes value from key
regtool [-q] get [key\value] - prints value to stdout
-q=quiet, no error msg, just return nonzero exit if key/value missing
keys are like \prefix\key\key\key\value, where prefix is any of:
root HKCR HKEY_CLASSES_ROOT
config HKCC HKEY_CURRENT_CONFIG
user HKCU HKEY_CURRENT_USER
machine HKLM HKEY_LOCAL_MACHINE
users HKU HKEY_USERS
key is in the format [host]\prefix\KEY\KEY\VALUE, where host is optional
remote host in either \\hostname or hostname: format and prefix is any of:
root HKCR HKEY_CLASSES_ROOT (local only)
config HKCC HKEY_CURRENT_CONFIG (local only)
user HKCU HKEY_CURRENT_USER (local only)
machine HKLM HKEY_LOCAL_MACHINE
users HKU HKEY_USERS
You can use forward slash ('/') as a separator instead of backslash, in
that case backslash is treated as escape character.
example: \user\software\Microsoft\Clock\iFormat
</screen>