Sorry, I should have tested it.

$Write = WriteValue($Key,$Value,Chr(34)+ "%1" + Chr(34)+ " %*","REG_SZ")
_________________________
Home page: http://www.kixhelp.com/hb/