problema al consultar clave reg_multi_sz en registro de windows

Josu Rodriguez jrvilda en gmail.com
Mar Feb 13 00:27:28 CET 2007


Hola amigos,

Estoy teniendo problemas al consultar en un windows 2000, una clave del
registro de windows.
el codigo es el siguiente:

from _winreg import *
import sys
#get the current value of the PendingFileRenameOperations key

def getCurrentValue():
    aReg = ConnectRegistry(None, HKEY_LOCAL_MACHINE)
    aKey = OpenKey(aReg, "SYSTEM\CurrentControlSet\Control\Session Manager")
    value=[]
    value.append(QueryValueEx(aKey, "PendingFileRenameOperations"))
    CloseKey(aKey)

    return value

print getCurrentValue()
pero aunque la clave dada tiene varias rutas, solo me devuelve 1.
Alguien me podria ayudar a entender como poder realizar la consulta
correctamente.
------------ próxima parte ------------
_______________________________________________
Python-es mailing list
Python-es en aditel.org
http://listas.aditel.org/listinfo/python-es


Más información sobre la lista de distribución Python-es