New submission from ipatrol <ipatrol6...@yahoo.com>:

I was fiddling around with easier ways to run python scripts in the Windows 
shell. I'll represent these as hypothetical AUTOEXEC.BAT entries (I used the UI 
for this):

;Add python to the search path so "python script.py" works
set path="%path%;C:\Python27"
;Add .py to the executable list so "script.py" works
set pathext="%pathext%;.PY"
;And finally (I couldn't find any other way) "script" works
set .py=python.exe

I think it would be a good idea to do this on installation. Any improvements 
and actual implementations using the registry would be greatly appreciated 
(especially since autoexec.bat isn't used anymore).

----------
components: Installation, Windows
messages: 110056
nosy: ipatrol
priority: normal
severity: normal
status: open
title: Make changes in the path and pathext on installation
type: feature request
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9228>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to