**METHOD:** `shell.RegRead(path) / shell.RegWrite(path, value[, type])`
**Description**
Lit/écrit des valeurs dans le registre Windows.
**Syntax**
`shell.RegRead(path) / shell.RegWrite(path, value[, type])`
**Paramètres**
– `path` : Chemin complet (ex: « HKCUSoftware…ValueName »).
**Retour**
Valeur lue (RegRead) / rien (RegWrite).
**Notes**
– Attention : permissions nécessaires selon la ruche/clé.
– Toujours tester en environnement de dev avant prod.
**Exemples**
« `vb
Dim shell
Set shell = CreateObject(« WScript.Shell »)
‘ Exemple: écrire puis relire (HKCU)
shell.RegWrite « HKCUSoftwarepleasantDemo », « ok », « REG_SZ »
WScript.Echo shell.RegRead(« HKCUSoftwarepleasantDemo »)
« `
**Voir aussi**
`WshShell.RegDelete`