BTW, I created a virtual machine to try to reproduce the scenario in a fresh Windows install. Sadly, I wasn't able to reproduce.
Maybe this is happening due to files/configurations/anything left by other instalations? Regards, --- Diego Queiroz 2011/4/19 Diego Queiroz <queiroz.di...@gmail.com> > Well... I think I wasn't clear. Sorry. > > All this information I get *inside* "convertDefault.py". > To get this info, first I changed it to show me the contents of PATH > variable ( os.environ['PATH'] ). > Then, *inside* conventDefault.py, the content of the PATH variable is what > I said. > > For some reason I don't understand, LyX insert system32 folder reference > before its own in PATH. > I have no control over this behavior. > > To be clear, the result of the command "print os.environ['PATH']", running > inside convertDefault.py is the following: > > C:\Users\Diego\AppData\Local\Temp\lyx_tmpdir.Hp3684 > C:\Program Files\Python\Python25 > C:\Windows\system32 > C:\Program Files\LyX 2.0rc3\bin > C:\Program Files\MiKTeX 2.9\miktex\bin > C:\Program Files\LyX 2.0rc3\etc\Ghostscript\bin > C:\Program Files\LyX 2.0rc3\etc\ImageMagick-6.6.9-5 > C:\Program Files\GIMP-2.0\bin > C:\Program Files\Adobe\Adobe Photoshop CS5 > C:\Program Files\Inkscape > C:\Program Files\LyX 2.0rc3\etc\Metafile2eps > C:\Program Files\Common Files\microsoft shared\Windows Live > C:\Windows > C:\Windows\System32\wbem > C:\Windows\System32\WindowsPowerShell\v1.0 > C:\Program Files\Windows Live\Shared > C:\Program Files\QuickTime\QTSystem > C:\Program Files\Microsoft SQL Server\100\Tools\Binn > C:\Program Files\Microsoft SQL Server\100\DTS\Binn > C:\ProgramData\Qt\qt-everywhere-opensource-src-4.7.2\bin > C:\Program Files\CMake 2.8\bin > C:\ProgramData\strawberry\c\bin > C:\ProgramData\strawberry\perl\site\bin > C:\ProgramData\strawberry\perl\bin > > > Regards, > > --- > Diego Queiroz > > > > 2011/4/19 Paul A. Rubin <ru...@msu.edu> > > On 4/18/2011 10:16 PM, Diego Queiroz wrote: >> >>> >>> Does someone know why "c:\Windows\System32" is included in the path? >>> >>> That's standard on Windows systems AFAIK. I'm looking at the path on my >> Win XP machine right now, and it has C:\WINDOWS\System32, C:\WINDOWS and >> C:\WINDOWS\System32\wbem on the System portion of the path (the portion >> common to all users). All you need to do is move the IM bin directory ahead >> of the WINDOWS stuff on the path. Unfortunately, Microsoft being Microsoft, >> the system portion of the path precedes, rather than follows, the user >> portion of the path when the two are glued together into the PATH >> environment variable. If you installed IM for yourself only, rather than >> for "all users", that would cause IM to go on the user path, and come after >> the C:\WINDOWS stuff on the path string. You can just edit the two path >> strings and move IM to the system portion, near the front. >> >> FYI, there is a freeware program called "Path Editor" (from RedfernPlace) >> that makes editing paths easy on Windows. >> >> Paul >> >> >