RegWrite a String fails

Recommended Posts

Cyclops 0

Cyclops 0

wan't to use the following script to change a regentry, but writing fails. Hope anyone knows why? When i declare another var - like $writestring = "1234" - then it works. Hope you could help me. Thanks

Share this post

Link to post

Share on other sites

/dev/null 1

/dev/null 1

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post

Link to post

Share on other sites

seandisanti 3

seandisanti 3

wan't to use the following script to change a regentry, but writing fails. Hope anyone knows why? When i declare another var - like $writestring = "1234" - then it works. Hope you could help me. Thanks

Share this post

Link to post

Share on other sites

seandisanti 3

seandisanti 3

So i thougtm that i must only change it and then rewrite it... Between $regread and $writestring isn't a optical difference only the two changed strings...

<{POST_SNAPBACK}>

you may want to check your values after read and before write, and make sure you're writing what you intend to. also you may want to verify that the value you're trying to assign is supposed to be a REG_BINARY....