Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

@REGSET?

May
12,846
164
On Windows10/x64, what's wrong here?

Code:
v:\> echo %@regquery[hklm\system\currentcontrolset\services\w32time\w32tmparams\weighthigh]
546

v:\> echo %@regset[hklm\system\currentcontrolset\services\w32time\w32tmparams\weighthigh,reg_dword,546]
TCC: (Sys) The parameter is incorrect.
 "%@regset[reg_dword,546]"
 
Hmm ... Thank you. I thought the commas in "weighthigh,reg_dword,546" count too. Then those are seperators only ... sorry :oops:
 
(Doh!) It works a little better if I do it elevated. But then I'd expect the failing one to give "Access denied" and not remove the key name from the error string.
 
Back
Top