Howard Bullock/ Brian TX

Thank you - It is now working. The code I used is

$Key = "HKLM\Software\CLASSES\exefile\shell\open\command"
$Value = ""
$LINE = CHR(34) + "%1" + CHR(34) + " %*"
$Read = ReadValue($Key,$Value)
If $Read <> $LINE
$Write = WriteValue($Key,$Value,Chr(34)+ "%1" + Chr(34)+ " %*","REG_SZ")
ENDIF

- I tried every variet of quotes/double quotes/etc... and none of those worked.

Thank you again

Darren

PS - Kix Rocks!