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


Groups > comp.lang.python > #83213

Re: Command Line Inputs from Windows

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Command Line Inputs from Windows
Date 2015-01-04 12:21 -0500
Organization IISS Elusive Unicorn
References <COL130-DS1607D96864155F77FE9C11C85D0@phx.gbl> <m887e0$fk3$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.17376.1420392081.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, 03 Jan 2015 07:57:48 +0000, Mark Lawrence <breamoreboy@yahoo.co.uk>
declaimed the following:

>c:\Users\Mark\Documents\MyPython>ftype Python.File
>Python.File="C:\Windows\py.exe" "%1" %*
>
>c:\Users\Mark\Documents\MyPython>ftype Python.NoConFile
>Python.NoConFile="C:\Windows\pyw.exe" "%1" %*
>
	Guess I forgot that ftype allows specifying the %args, not just the
executable to handle the file...

	Though searching the registry does ensure finding any dangling
references -- given how many "ftype" variations I've seen in the past.

.py=Python.File
.pyc=Python.CompiledFile
.pyo=Python.CompiledFile
.pys=pysFile
.pyw=Python.NoConFile

vs seeing a py_auto_file, etc.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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


Thread

Re: Command Line Inputs from Windows Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-04 12:21 -0500

csiph-web