Launcher, and ftype Python.File
Christian Ullrich
chris at chrullrich.net
Wed Nov 18 09:45:54 EST 2015
* Terry Reedy wrote:
> On 11/18/2015 3:12 AM, Glenn Linderman wrote:
>> d:\>ftype Python.File
>> Python.File="C:\Windows\py.exe" "%L" %*
>
> Verified on my Win 10
>
>> I'm surprised by the "%L" where usually programs have "%1". Is this a
>> new Windows feature I don't know about yet, or is it a bug in the
>> installer for the Launcher?
>
> It puzzles me tool. However, it works.
Apparently %L is always the long file name, and %1 is the short name
unless the shell can prove that the executable can handle long names.
>> Google doesn't support searching for "%L" very well.
https://www.google.com/search?q=ftype+%22%25L%22#q=ftype+%22%25L%22+-mks
--
Christian
More information about the Python-list
mailing list