DB> thierry, DB> You need to define the quotes in your script... DB> put "C:\Ba\Ba.exe" && quote & "-E" & quote && quote & "%1" & quote into registryKeyData DB> setRegistry( "HKEY_CLASSES_ROOT\BioArchimed\shell\open\command\", registryKeyData) Excellent ! Merci, thierry