从命令行获取所有打开窗口的列表 [英] Get a list of all open windows from the command line

查看:28
本文介绍了从命令行获取所有打开窗口的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Windows 7 中,是否可以从命令行获取所有打开的桌面窗口的列表?我知道有可能获得 来自命令行的所有正在运行的进程的列表,但我想知道是否也可以获得打开窗口的列表.

In Windows 7, is it possible to obtain a list of all open desktop windows from the command line? I know that it's possible to obtain a list of all running processes from the command line, but I want to know if it's possible to obtain a list of open windows as well.

推荐答案

/v"选项在最后一列中列出了窗口名称.就像在任务列表/v"中一样.您也可以将其通过管道传输到另一个应用程序中或进行过滤.

The "/v" option lists the window names in the last column. As in "tasklist /v". You can also pipe it into another application or find to do filtering.

这篇关于从命令行获取所有打开窗口的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆