You should try this :
$Param='"C:\PROGRA~1\MICROS~2\Office\OUTLOOK.EXE" -c IPM.Note /m "%%1"'
WriteValue("HKEY_CLASSES_ROOT\mailto\Shell\Open\command","","$param","REG_SZ")
Also, maybe the " " between $param in writevalue shouldn't be here, as i don't test it. Run it, and check the value in registry. If you have too much " ", you know where to remove them

note : If %, $ and @ are used as strings, they have to be used as is : %%, $$ or @@

[ 21 January 2002: Message edited by: Alex.H ]

_________________________
? getobject(Kixtart.org.Signature)