windows - How to modify a reg_expand_sz value from command prompt? -


i trying edit existing registry key .reg file. want change vaue of key, reg_expand_sz value different 1 (the value file path). tried doing this:

windows registry editor version 5.00  ["hkey_current_user\control panel\cursors"] "arrow"=reg_expand_sz:"%systemroot%\system32\virus\virus\newarrow.cur" 

which didn't work. should instead?

seems windows (7) accepting values hex in there. easiest way understand edit manually, , make export inside regedit application. show do.

i did , got , works.

windows registry editor version 5.00  [hkey_current_user\control panel\cursors] "arrow"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\   00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,56,00,\   49,00,52,00,55,00,53,00,5c,00,56,00,69,00,72,00,75,00,73,00,5c,00,6e,00,65,\   00,77,00,41,00,72,00,72,00,6f,00,77,00,2e,00,63,00,75,00,72,00,00,00 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -