Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98976

Re: Launcher, and ftype Python.File

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Christian Ullrich <chris@chrullrich.net>
Newsgroups comp.lang.python
Subject Re: Launcher, and ftype Python.File
Date Wed, 18 Nov 2015 15:45:54 +0100
Lines 26
Message-ID <db3h92Fpu11U1@mid.individual.net> (permalink)
References <564C32F3.2070909@g.nevcal.com> <mailman.409.1447844007.16136.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net fCDbNm5WVpEOjrHl65GsUw9QRdQkbgyEEcIzwcT9pdEFXrzwg=
Cancel-Lock sha1:I5BHT6SQIChGpDQzvWLDJaX3Aro=
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
In-Reply-To <mailman.409.1447844007.16136.python-list@python.org>
Xref csiph.com comp.lang.python:98976

Show key headers only | View raw


* 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Launcher, and ftype Python.File Terry Reedy <tjreedy@udel.edu> - 2015-11-18 05:52 -0500
  Re: Launcher, and ftype Python.File Christian Ullrich <chris@chrullrich.net> - 2015-11-18 15:45 +0100
    Re: Launcher, and ftype Python.File eryksun <eryksun@gmail.com> - 2015-11-18 12:03 -0600

csiph-web