Command line arguments on Vista
Duncan Booth
duncan.booth at invalid.invalid
Fri Jan 12 10:13:54 EST 2007
jmike at alum.mit.edu wrote:
> But on Windows Vista, when I run that command, I get
>
> there are 1 args
> arg: printargs.py
>
> What's up with that?
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).
More information about the Python-list
mailing list