Hi David, I think that this line: SetValue(Key, None, REG_SZ, "\"\\Program Files\\Python\\Lib\\Python.exe\" \"%1\"") Should be: SetValue(Key, None, REG_SZ, "\"\\Program Files\\Python\\Lib\\Python.exe\" \"%1\" %* ") That way you could send more then one arg to the script. All the best, Isr