Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows registry
#2
Yes, possible. For example, hives and keys in regedit can be selected using accessible object functions.

But at first try RegLoadKey function. It is Windows function, documented in MSDN library. I did not try it, but I think it does the same as the Load Hive menu item in regedit. Then use rset to change . to ,. Then call RegUnLoadKey function.

Macro Macro1267
Code:
Copy      Help
int e=RegLoadKey(HKEY_USERS "xpfix" _s.expandpath("$system$\config"))
if(e) end _s.dllerror("" "" e)
rset "," "some value" "xpfix\microsoft\windows nt\current version\winlogon" HKEY_USERS
RegUnLoadKey(HKEY_USERS "xpfix")


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)