Consulta de clave del registro de Windows
Traducción Beta No Oficial
Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →
Qué hace
Muestra el contenido de la clave del registro de Windows solicitada.
Tipos de claves del registro admitidos:
-
SZ(se muestra como valor de cadena) -
EXPAND_SZ(se muestra como valor de cadena) -
BINARY(se muestra como valor de cadena) -
DWORD(se muestra en hexadecimal mayúsculas con prefijo 0x) -
QWORD(se muestra en hexadecimal mayúsculas con prefijo 0x)
Configuración de ejemplo
- json
- yaml
- toml
{
"type": "winreg",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#444444",
"template": " {{ .Value }}",
"options": {
"path": "HKLM\\software\\microsoft\\windows nt\\currentversion\\buildlab",
"fallback": "unknown"
}
}
type: winreg
style: powerline
powerline_symbol:
foreground: "#ffffff"
background: "#444444"
template: " {{ .Value }}"
options:
path: HKLM\software\microsoft\windows nt\currentversion\buildlab
fallback: unknown
type = "winreg"
style = "powerline"
powerline_symbol = ""
foreground = "#ffffff"
background = "#444444"
template = " {{ .Value }}"
[options]
path = "HKLM\\software\\microsoft\\windows nt\\currentversion\\buildlab"
fallback = "unknown"
Opciones
| Name | Type | Default | Description |
|---|---|---|---|
path | string | registry path to the desired key using backslashes and with a valid root HKEY name. Ending path with \ will get the (Default) key from that path | |
fallback | string | the value to fall back to if no entry is found |
Plantilla (info)
plantilla predeterminada
{{ .Value }}
Propiedades
| Name | Type | Description |
|---|---|---|
| .Value | string | The result of your query, or fallback if not found. |