On Apr 27, 8:21 pm, [EMAIL PROTECTED] wrote: > Yep, thats pretty much exactly what i had done, those exact settings, > and it still doesnt work. As i said i looked at the other keys to > check i had done it right and a i said the settings are fine because i > can send the file to python.exe and it loads like a python file fine, > but it doesn't like passing it to my program. Have i done something > wrong with my program that simply prints the arguments??
I think either I have misunderstood the situation, you misunderstood your own situation, or you have expressed your situation incorrectly: "it loads like a python file fine". What loads like a python file fine? The python source or the data.xyz? What did you put in data.xyz? Data to be fed to your python program or python source code? Aren't we trying to load the data.xyz to your python program? Or are we trying to load data.xyz to python interpreter? Anyway, try adding quotes around the "%1", to ensure that path that contains spaces doesn't confuse the program HKEY_CLASSES_ROOT\MyApp\Shell\Open\Command => "C:\pathtomyapp \myapp.py" "%1" -- http://mail.python.org/mailman/listinfo/python-list