Feature Requests item #1672891, was opened at 2007-03-03 10:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1672891&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Josu Rodriguez Vilda (jrvilda)
Assigned to: Nobody/Anonymous (nobody)
Summary: problem win32api when consulting the registry Reg_MULTI_SZ
Initial Comment:
hello,
First, I hope that they pardon the English to me, since I am Spanish and am using the tool of google. The problem takes place when consulting registry keys type reg_MULTI_SZ with several values, the turn out to give several values and single it shows one. Example:
[pendientes.reg]
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"PendingFileRenameOperations"=hex(7):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,\
41,00,72,00,63,00,68,00,69,00,76,00,6f,00,73,00,20,00,64,00,65,00,20,00,70,\
00,72,00,6f,00,67,00,72,00,61,00,6d,00,61,00,5c,00,47,00,6f,00,6f,00,67,00,\
6c,00,65,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,54,00,6f,00,6f,00,6c,\
00,62,00,61,00,72,00,4e,00,6f,00,74,00,69,00,66,00,69,00,65,00,72,00,5c,00,\
31,00,2e,00,32,00,2e,00,39,00,30,00,38,00,2e,00,35,00,30,00,30,00,38,00,5c,\
00,73,00,77,00,67,00,33,00,2e,00,74,00,6d,00,70,00,00,00,00,00,5c,00,3f,00,\
3f,00,5c,00,43,00,3a,00,5c,00,41,00,72,00,63,00,68,00,69,00,76,00,6f,00,73,\
00,20,00,64,00,65,00,20,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,00,61,00,\
5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,5c,00,47,00,6f,00,6f,00,67,00,6c,\
00,65,00,54,00,6f,00,6f,00,6c,00,62,00,61,00,72,00,4e,00,6f,00,74,00,69,00,\
66,00,69,00,65,00,72,00,5c,00,31,00,2e,00,32,00,2e,00,39,00,30,00,38,00,2e,\
00,35,00,30,00,30,00,38,00,5c,00,47,00,6f,00,6f,00,34,00,2e,00,74,00,6d,00,\
70,00,00,00,00,00,5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,41,00,72,00,63,\
00,68,00,69,00,76,00,6f,00,73,00,20,00,64,00,65,00,20,00,70,00,72,00,6f,00,\
67,00,72,00,61,00,6d,00,61,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,5c,\
00,47,00,6f,00,6f,00,67,00,6c,00,65,00,54,00,6f,00,6f,00,6c,00,62,00,61,00,\
72,00,4e,00,6f,00,74,00,69,00,66,00,69,00,65,00,72,00,5c,00,31,00,2e,00,32,\
00,2e,00,39,00,30,00,38,00,2e,00,35,00,30,00,30,00,38,00,5c,00,72,00,65,00,\
73,00,35,00,2e,00,74,00,6d,00,70,00,00,00,00,00,5c,00,3f,00,3f,00,5c,00,43,\
00,3a,00,5c,00,41,00,72,00,63,00,68,00,69,00,76,00,6f,00,73,00,20,00,64,00,\
65,00,20,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,00,61,00,5c,00,47,00,6f,\
00,6f,00,67,00,6c,00,65,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,54,00,\
6f,00,6f,00,6c,00,62,00,61,00,72,00,4e,00,6f,00,74,00,69,00,66,00,69,00,65,\
00,72,00,5c,00,31,00,2e,00,32,00,2e,00,39,00,30,00,38,00,2e,00,35,00,30,00,\
30,00,38,00,00,00,00,00,5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,41,00,72,\
00,63,00,68,00,69,00,76,00,6f,00,73,00,20,00,64,00,65,00,20,00,70,00,72,00,\
6f,00,67,00,72,00,61,00,6d,00,61,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,\
00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,54,00,6f,00,6f,00,6c,00,62,00,\
61,00,72,00,4e,00,6f,00,74,00,69,00,66,00,69,00,65,00,72,00,00,00,00,00,5c,\
00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,41,00,72,00,63,00,68,00,69,00,76,00,\
6f,00,73,00,20,00,64,00,65,00,20,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,\
00,61,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,5c,00,47,00,6f,00,6f,00,\
67,00,6c,00,65,00,54,00,6f,00,6f,00,6c,00,62,00,61,00,72,00,32,00,2e,00,64,\
00,6c,00,6c,00,00,00,00,00,5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,41,00,\
72,00,63,00,68,00,69,00,76,00,6f,00,73,00,20,00,64,00,65,00,20,00,70,00,72,\
00,6f,00,67,00,72,00,61,00,6d,00,61,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,\
65,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,54,00,6f,00,6f,00,6c,00,62,\
00,61,00,72,00,4e,00,6f,00,74,00,69,00,66,00,69,00,65,00,72,00,5c,00,31,00,\
2e,00,32,00,2e,00,39,00,30,00,38,00,2e,00,35,00,30,00,30,00,38,00,00,00,00,\
00,5c,00,3f,00,3f,00,5c,00,63,00,3a,00,5c,00,61,00,72,00,63,00,68,00,69,00,\
76,00,6f,00,73,00,20,00,64,00,65,00,20,00,70,00,72,00,6f,00,67,00,72,00,61,\
00,6d,00,61,00,5c,00,67,00,6f,00,6f,00,67,00,6c,00,65,00,5c,00,67,00,6f,00,\
6f,00,67,00,6c,00,65,00,74,00,6f,00,6f,00,6c,00,62,00,61,00,72,00,32,00,2e,\
00,64,00,6c,00,6c,00,00,00,00,00,00,00
[/prendientes.reg]
[CODE]
pendingFileRename=time.strftime("%A %d-%m-%Y %H:%M", time.localtime())
def getPendingFileRenameOperations():
aKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,r"SYSTEM\CurrentControlSet\Control\Session Manager")
try:
try: values = _winreg.QueryValueEx(aKey, "PendingFileRenameOperations")[0]
except WindowsError: values = ("No Existen Datos")
finally:
_winreg.CloseKey(aKey)
return values
pendingFileRename=pendingFileRename+"\n\n"+str(getPendingFileRenameOperations())
pendingFileRename=pendingFileRename+"\n\n--------------------"
pendingFileRename=pendingFileRename+"\nRecuerda que aun es una versión DEMO.\nDebes de usar programas testeados como puede ser:\npendmoves.exe de sysinternals."
self.txm373c.SetValue(pendingFileRename)
RESULTADO WIN32API=
[u'\\??\\C:\\Archivos de programa\\Google\\GoogleToolbarNotifier\\1.2.908.5008\\swg3.tmp']
RESULTADO OK=
[u'\\??\\C:\\Archivos de programa\\Google\\GoogleToolbarNotifier\\1.2.908.5008\\swg3.tmp',u'\\??\\C:\\Archivos de programa\\Google\\GoogleToolbarNotifier\\1.2.908.5008\\res5.tmp',u'\\??\\C:\\Archivos de programa\\Google\\GoogleToolbarNotifier\\1.2.908.5008\\goo4.tmp',u'\\??\\C:\\Archivos de programa\\Google\\GoogleToolbarNotifier\\1.2.908.5008',etc]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1672891&group_id=78018
|