Finding Full Path to Process EXE
misceverything at gmail.com
misceverything at gmail.com
Mon Mar 31 05:13:49 EDT 2008
On Mar 31, 2:50 am, Tim Golden <m... at timgolden.me.uk> wrote:
> misceveryth... at gmail.com wrote:
> > That's not a problem - I'm only interested in Win2k+. Thanks for the
> > caveat.
>
> > On a similar note, is there a way (preferably using WMI) to get the
> > full path to the executable that has a port open (the same thing that
> > fport does, just implemented in Python)?
>
> It looks as though it might be possible with the (not
> installed by default) SNMP WMI provider. Haven't tried
> it myself, but there's some info here:
>
> http://groups.google.com/group/microsoft.public.win32.programmer.wmi/...
>
> and here:
>
> http://msdn2.microsoft.com/en-us/library/aa393621(VS.85).aspx
>
> Alternatively, look around for the GetExtendedTcpTable functionality
> and so on.
>
> Sorry, this isn't really my area -- all I've done here is to let
> my fingers do the walking.
>
> TJG
Sounds good - I'm going to check those links out now. Thanks again
for all your help.
More information about the Python-list
mailing list