"Mark Tolonen" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
> From the command line, the 'ftype' and 'assoc' commands can be used
> view how an extension is handled:
>
>   C:\>assoc .py
>   .py=Python.File
>
>   C:\>ftype Python.File
>   Python.File="C:\Python25\python.exe" "%1" %*
>
> My guess is your command line looks something like this:
>
>   Python.File="C:\Python25\python.exe" "%1"
>
> The script name is being passed, but not the rest of the arguments.
> I vaguely remember seeing this on an older version one of ActiveState's
> ActivePython installers.  What version of Python are you running?
>
> --Mark
>

Here is the output from the commands you listed which looks right to me.

C:\>assoc .py
.py=Python.File

C:\>ftype python.file
python.file="C:\Python25\python.exe" "%1" %*

I am using Python 2.5.2 from http://www.python.org/ running on Windows 
Vista. Would ActiveState's version be a better choice here?

~Mike 

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to