×
Menu
Index

4. Commands for Working with the Registry on a Running Windows System

 
NOTE: All commands in this section are available only in the Windows version of TBOSDT
 
Command Function
Command Syntax
Associate a registry key with a numeric id k.
OPEN WINKEY k keyname base [/c][/r]
  /r – open read-only.
  /c - create key if not found.
  base - HKLM, HKCR, HKU, HKCU.
Remove the numeric id associated with a registry key.
CLOSE WINKEY k
Display keys found in another key.
LIST WINKEYS keynum [subkeyname]
Delete a registry key.
DEL WINKEY k keyname [/s]
  /s - delete all subkeys.
List value names located in a key.
LIST WINVALUES keynum [subkeyname] [/d]
  /d - list value data
List the contents of a single value in a registry key.
LIST WINVALUE keynum [subkeyname] valuename
Set a registry value.
SET WINVALUE k valuename valuetype value
  valuetype: none, sz, expandsz, hex, dword, multisz, qword
Delete a registry value.
DEL WINVALUE k valuename