' ' Lists the sub keys and values of a given registry key, this script is slightly different ' than regList because it reads stdin for the keys to list ' ' echo HKLM\Software | cscript regListStream.wsf A ' ' Will Yield: ' ' { ' "hklm\software": { ' "keys": [ .. array of sub keys .. ], ' "values": { ' "moo": { ' "type": "REG_SZ", ' "value": "bar" ' } ' } ' } ' }