【问题标题】:Starting task manager programmatically on Windows 8在 Windows 8 上以编程方式启动任务管理器
【发布时间】:2013-04-14 07:23:53
【问题描述】:

我需要在 Windows 8 中以编程方式启动任务管理器。

在 Windows 8 之前,我只是使用了类似的东西:

Dim sPath$
Dim fso As New FileSystemObject
sPath = fso.GetSpecialFolder(1)
sPath = sPath & "\taskmgr.exe"
Shell(sPath)

其实编程语言并不重要。

问题似乎是在 Windows 8 系统上不再有 taskmgr.exe。

有人知道如何启动任务管理器吗?

我不是说打开选择窗口,我想马上打开任务管理器。

【问题讨论】:

    标签: windows taskmanager


    【解决方案1】:

    任务管理器仍然存在,在 Windows 8 中。例如,请参阅this article 了解有关 Windows 8 任务管理器的信息。

    【讨论】:

      【解决方案2】:

      您可能可以分析 Shell() 函数调用的返回码。它可能会帮助您找到确切的问题。

      【讨论】:

        猜你喜欢
        • 2017-10-22
        • 1970-01-01
        • 2011-10-03
        • 1970-01-01
        • 2011-02-27
        • 1970-01-01
        • 1970-01-01
        • 2010-10-02
        相关资源
        最近更新 更多