Command line arguments on Vista

Gabriel Genellina gagsl-py at yahoo.com.ar
Sat Jan 13 08:52:51 EST 2007


"Duncan Booth" <duncan.booth at invalid.invalid> escribió en el mensaje 
news:Xns98B69A42F81D3duncanbooth at 127.0.0.1...
> It sounds like the registry entry for running Python files is messed up.
> Can you go to a command line and see what the command 'ftype Python.File'
> displays? (Assuming that command lines and ftype still work on Vista)
>
> The output should be:
> Python.File="C:\Python25\python.exe" "%1" %*
>
> but if it only says:
> Python.File="C:\Python25\python.exe" "%1"
>
> then you would get the behaviour you observed (on any version of Windows,
> not just Vista).

That would happen if the association was not made by the Python installer, 
but by the user selecting Python.exe the first time he tried to execute a 
Python script by double-clicking on it.

-- 
Gabriel Genellina 






More information about the Python-list mailing list