(imported topic written by efin91)
I am uninstalling and re-installing a program but need to keep the data that exists in a multi string regkey and re-create that key after re-installing. This is on over 100 machines and the values are different
I am able to get the value from the key using the below command but I am unable to re-create a REG_MULTI_SZ key
appendfile {substrings separated by “%00” whose (it != “”) of (value “Exclude” of key “{location of key}” of registry as string)}
This will get an output of something like this:
C:\Program Files\sample1*.sample%00 C:\Program Files\sample2*.sample%00 C:\Program Files\sample3*.sample%00
Can anyone suggest how to recreate this?
This doesn’t work, not sure how to tell bfix it’s a multi string
regset “{location of key}” “Exclude”=C:\Program Files\sample1*.sample%00 C:\Program Files\sample2*.sample%00 C:\Program Files\sample3*.sample%00
Thanks