regset with multistring value

regset with multistring value

Hello,

how can I send to CE6 device regset command wit multistring value please? I have to replace static DNS Entry wit new IPs. I've tried

regset [HKEY_LOCAL_MACHINE\Comm\SDCCF10G1\Parms\TcpIp\DNS "MULTI_SZ"=hex(7):31,00,30,00,2e,00,31,00,33,00,34,00,2e,00,30,00,2e,00,31,00,7b,00,\
  00,00,31,00,30,00,2e,00,31,00,33,00,34,00,2e,00,30,00,2e,00,31,00,33,00,00,\
  00,00,00

or

regset HKEY_LOCAL_MACHINE\Comm\SDCCF10G1\Parms\TcpIp\DNS  MULTI_SZ:"11.11.11.11 11.11.11.12"

but the syntax is obviously wrong and I am not going any further. 

Many Tanks!

Best regards

Michal

2 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 24 October 2019

In my experience with CE I had better luck creating a .reg file and then calling the regedit executable with a file name parameter path than using the "regset" SOTI script. 

start regmerge.exe /q \PATH\FILE.reg

  • 0
  • 0
Michael | posted this 25 October 2019

Thanks you, I know, but I would rather avoid sending additional file, but if the command does not always work, then this is plan b...

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback