Just because I have a distrust of Windows's command interpreter, what happens when you type:ftype python.file ? Does it echo back what you thought it had, or has %* been eaten? If the %* is missing, that would explain the loss of arguments.
Already tought of that: C:\Temp>ftype python.file python.file="C:\Windows\py.exe" "%1" %* C:\Temp> Something else is going on. -- https://mail.python.org/mailman/listinfo/python-list