
21/10/2008, 06:52
|
| | Fecha de Ingreso: febrero-2008
Mensajes: 7
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Respuesta: VBScript (WSH): ¿Como leer un valor binario (hexadecimal) del registro? Ya encontre la solución.
Gracias!
Código:
Set Shell = CreateObject("WScript.Shell")
arrValues = Shell.RegRead("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000002\New Signature")
For intIndex = LBound(arrValues) To UBound(arrValues) Step 2
varValue = varValue & Chr(arrValues(intIndex))
Next
arrValues = split(varValue, ";")
For intIndex = LBound(arrValues) To UBound(arrValues)
Wscript.Echo arrValues(intIndex)
Next
|