开发者

Windows processes vs. applications

开发者 https://www.devze.com 2022-12-08 00:11 出处:网络
I can easily identify running processes by looping through the WMI Win32_Process 开发者_C百科elements.Is there a similar way to identify \"applications\" as in Task Manager?I assume that this is compa

I can easily identify running processes by looping through the WMI Win32_Process 开发者_C百科elements. Is there a similar way to identify "applications" as in Task Manager? I assume that this is comparable to knowing whether the process has an open window. For example, when you exit Outlook, the OUTLOOK.EXE process keeps running. Task Manager no longer shows it as an application, but the process is still there. I want to be able to determine this difference from a script. I think I can handle examples in most any language.


It would appear that the way to do that is to enumerate all of the top-level windows.

http://support.microsoft.com/kb/183009


This looks like it does what you are asking: Running Processes/Applications

0

精彩评论

暂无评论...
验证码 换一张
取 消