regread


Kostis Netzwerkberatung
Konstantinos Kostis
Talstr. 25
D-63322 Rödermark

Tel. +49 6074 881056, FAX 881058

kosta@kostis.net (Kosta Kostis)
http://www.kostis.net/

You may use this program free of charge at your own risk.

V1.11 2000-06-14 KK


Function

Read values from registry and display in CSV format along with computername.

Type

External

Format

regread [-debug] [filename]

Comments

regread expects a file regread.rqu in the same directory regread resides if no filename is given. regread reads registry key names from that file line by line, queries the values of those keys from the local registry and displays the values, if present, in CSV format. If a key value is not present, the value displayed is "-". If there is a syntax error in a line, nothing is displayed for this line.

regread.rqu format

Key   comma   level   comma   Subkey\..\Value
HKCC
HKCR
HKCU
HKLM
HKUS
  ','   decimal number   ','   registry key name

Meaning of Key

Key   Meaning
HKCC   HKEY_CURRENT_CONFIG
HKCR   HKEY_CLASSES_ROOT
HKCU   HKEY_CURRENT_USER
HKLM   HKEY_LOCAL_MACHINE
HKUS   HKEY_USERS

A value of -1 for recursion level means no limit to recursion at all.

The query file format changed from version 1.0x to 1.10 to a) add the value for recursion level and b) make it easier to edit since not all editors support tab characters.

Examples

regread

regread.rqu example content

HKLM,0,Software\Microsoft\Internet Explorer\Version
HKLM,0,Software\Microsoft\Windows\CurrentVersion\ProgramFilesDir

regread output on machine NATLIVE

"NATLIVE","HKLM","Software\Microsoft\Internet Explorer\Version","5.00.2314.1003"
"NATLIVE","HKLM","Software\Microsoft\Windows\CurrentVersion\ProgramFilesDir","C:\Programme"

Supported OS

Win32 console application for Microsoft Windows 95/98/NT/2000.

Author/Copyright

Copyright (C) 2000 by Kostis Netzwerkberatung
Talstr. 25, D-63322 Rödermark, Tel. +49 6074 881056, FAX 881058
kosta@kostis.net (Kosta Kostis), http://www.kostis.net/