jassing
04-04-2007, 06:28 AM
I have several pending file operations. (a few deletes & moves)
when I issue this:
local cPending = Registry.GetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Session Manager", "PendingFileRenameOperations", false);
Clipboard.CopyText(cPending);
the clipboard holds exactly this:
\??\c:\99af4c5cbb04c658df2c\update\update.exe
however, the registry entry contains this:
\??\c:\99af4c5cbb04c658df2c\update\update.exe
\??\c:\99af4c5cbb04c658df2c\update
\??\c:\99af4bb04c658df2c
\??\c:\c5c4a8a153ba8443ec33643b0b5e\update\update. exe
\??\c:\c5c4a8a153ba8443ec33643b0b5e\update\updspap i.dll
\??\c:\c5c4a8a153ba8443ec33643b0b5e\update
\??\c:\c5c4a8a153ba8443ec33643b0b5e
\??\C:\windows\AppPatch\SET242.tmp
!\??\C:\windows\AppPatch\sysmain.sdb
\??\C:\windows\AppPatch\SET243.tmp
!\??\C:\windows\AppPatch\apphelp.sdb
\??\C:\windows\system32\DllCache\SET244.tmp
!\??\C:\windows\system32\DllCache\sysmain.sdb
\??\c:\9f779fa7cf58f44bf69bd830a69f6a8fc5c
Help says this:
Note:[...] For values of type REG_MULTI_SZ, a string will be returned where each registry entry string is separated by a "|" character.
how do I read this registry entry reliably?
when I issue this:
local cPending = Registry.GetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Session Manager", "PendingFileRenameOperations", false);
Clipboard.CopyText(cPending);
the clipboard holds exactly this:
\??\c:\99af4c5cbb04c658df2c\update\update.exe
however, the registry entry contains this:
\??\c:\99af4c5cbb04c658df2c\update\update.exe
\??\c:\99af4c5cbb04c658df2c\update
\??\c:\99af4bb04c658df2c
\??\c:\c5c4a8a153ba8443ec33643b0b5e\update\update. exe
\??\c:\c5c4a8a153ba8443ec33643b0b5e\update\updspap i.dll
\??\c:\c5c4a8a153ba8443ec33643b0b5e\update
\??\c:\c5c4a8a153ba8443ec33643b0b5e
\??\C:\windows\AppPatch\SET242.tmp
!\??\C:\windows\AppPatch\sysmain.sdb
\??\C:\windows\AppPatch\SET243.tmp
!\??\C:\windows\AppPatch\apphelp.sdb
\??\C:\windows\system32\DllCache\SET244.tmp
!\??\C:\windows\system32\DllCache\sysmain.sdb
\??\c:\9f779fa7cf58f44bf69bd830a69f6a8fc5c
Help says this:
Note:[...] For values of type REG_MULTI_SZ, a string will be returned where each registry entry string is separated by a "|" character.
how do I read this registry entry reliably?