Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用“lsmon.exe”实用程序来了解使用 QTP 并发许可证的用户列表。我执行 lsmon 实用程序并在命令提示符界面中获取信息。我正在尝试编写一个 excel vba 程序来在用户界面中显示详细信息。是否可以通过任何方式获取在我自己的用户界面中显示的详细信息,即通过执行命令并获取必要的信息。
提前致谢
您可以执行命令并将输出重定向到文本文件,然后您可以在 VBA 中加载文本文件并解析需要放入电子表格的信息。例子:
lsmon > C:\temp\output.txt