Re: Why does Python never add itself to the Windows path?



At Tuesday 2/1/2007 13:58, Ben Sizer wrote:

> Notice that there is NO need to alter the system path. You just have
> to tell Windows where python.exe resides; there is a per-application
> path located at
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths.

>From what I can tell, that is solely for file associations. If so, it
will work if you type "setup.py install" but not if you type "python
setup.py install". For instance, I have an entry for Firefox in that
part of the registry, but if you try executing "firefox" at the command
line, it fails.

Typing "start firefox" at the command line should work.
It appears that cmd.exe does *not* use ShellExecute to find the executable, so this approach doesn't work as expected :(


--
Gabriel Genellina
Softlab SRL






__________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas

.



Relevant Pages

  • Re: html changes not showing
    ... Tried to install firefox, can't seem to get to go. ... When I came back most of the images had loaded but not all. ... Also don't forget to run the design checker tool. ...
    (microsoft.public.publisher.webdesign)
  • IE is allowing virii/trojans/spyware etc. to install without help
    ... popups on the screen, and one looked like a normal ... window, as it didn't look quite right. ... Firefox desktop icon, ... the entire Firefox folder and install was gone. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Getting close here folks! Looking good.
    ... On Wednesday 15 November 2006 20:27, Ric Moore wrote: ... bookmarks and stored passwords (for firefox) from my old FC2 ... install over so the current firefox can use them. ... It's probably safer to just copy your bookmarks and cookies folder ...
    (Fedora)
  • Re: [SLE] Sometimes Linux makes me crazy.
    ... this is demonstrably not true - I have several people using Linux for ... If that is a real problem, you need to stick to Windows. ... > how to install a software (firefox) upgrade when it isn't in RPM format. ...
    (SuSE)
  • Re: OT: Browser question
    ... Well outa those I would go for Firefox. ... you can install the IEtab plugin. ... autoplay I get a message saying that Flash needs to be upgraded. ... just uninstall Firefox and go back to the dinosaur version. ...
    (alt.guitar)