<p>If I have two variables containing binary values, how do I append them together as one binary value?  For example, if I used WMI to read the registry of two REG_BINARY value, I then want to be able to concatenate the values.</p>

<p>VBScript complains of a type mismatch when you try to join with the '&amp;' operator.</p>

Perhaps...
```
```
result = CStr(val1) & CStr(val2)
```
```