On Mar 28, 4:53 pm, Tim Golden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello,
>
> > I would like to write a script that would enumerate all running
> > processes and return the full path to the EXE of each running
> > process.  However, I can't seem to find any good info on how to do
> > this..any help is greatly appreciated.  Thanks.
>
> I have this strange feeling of deja vu. Try this:
>
> http://timgolden.me.uk/python/wmi_cookbook.html#running_processes
>
> (You want the .ExecutablePath or .CommandLine attributes I imagine)
>
> TJG

Thanks, Tim!  I was able to find plenty out there about enumerating
processes, but the .ExecutablePath was exactly what I needed.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to