I am executing the following code in a script: If Not $printer = "" Then $regValName = StringFormat("%s%s\\PrinterDriverData", $regKey, $ColorMFDs[$i]) MsgBox(0,'','This is $regValName: ' & $regValName) RegWrite($regValName, "TestXrxDeviceSettings", "Reg_Binary", "00 10 20") EndIf The RegWrite line works just fine, excpet that 00 10 20 value appears to be written in as decimal. The value in binary, which actutally seems to be displayed as hex, ends up as 30 30 20 31 30