Re: Extracting path of a program from a list.

2008-08-26 Thread Gabriel Genellina
En Wed, 27 Aug 2008 01:15:58 -0300, aditya shukla <[EMAIL PROTECTED]> escribi�: I wanna know how can i extract path of a program whose path i have added to the PATH variable. This is what i have done import os x=os.getenv("PATH") print x %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\

Extracting path of a program from a list.

2008-08-26 Thread aditya shukla
Hello folks, I wanna know how can i extract path of a program whose path i have added to the PATH variable. This is what i have done import os x=os.getenv("PATH") print x >>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Pr