* cjl (2006-09-12 13:10 +0100)
> Jason:
> 
> Thanks! That worked...in fact, almost everything is now working as
> expected (so far).
> 
> Here is my batch file:
> 
> echo "Making changes to path and file associations..."
> path =
> %PATH%;%CD%Python24;%CD%Python24\libs;%CD%Python24\Scripts;%CD%Python24\Lib\site-packages;%CD%Python24\DLLs
> set PYTHONPATH=%CD%Python24
> ASSOC .py=Python.File
> ASSOC .pyc=Python.CompiledFile
> ASSOC .pyo=Python.CompiledFile
> ASSOC .pyw=Python.NoConFile
> FTYPE Python.File=%CD%Python24\python.exe "%%1" %%*
> FTYPE Python.CompiledFile=%CD%Python24\python.exe "%%1" %%*
> FTYPE Python.NoConFile=%CD%Python24\pythonw.exe "%%1" %%*
> set PATHTEXT=.py;%PATHTEXT%
> CMD
> 
> I'm still having a problem with setting PATHTEXT...I should be able to
> now type django-admin at the cmd prompt and have it work, but I need to
> still type django-admin.py  ... I'm not sure what's wrong with my
> setting of pathtext.

Setting environment variables has only effect on the process itself
and the subprocesses. This has nothing to do with Windows, it's the
same with Linux.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to