powershell - Powershell 使用参数启动 .exe
问题描述
我们尝试使用 powershell 启动一个包含文本文件的 .exe 文件,但是 .exe 文件正在启动,但参数仍未通过
$gs = "E:\Main.exe"
$arguments = "Age"
Start-Process $gs $arguments -Wait
我们尝试使用上述 cmdlet。欢迎任何建议。
解决方案
推荐阅读
- php - Google Ad-Manager (client lib PHP) 如何列出技术下的所有数据?
- c++ - 我应该如何删除可变参数函数?
- ocaml - Ocaml 这个 '(' 可能不匹配
- elixir - ** (UndefinedFunctionError) 函数 Guardian.Plug.authenticated?/1 未定义或私有
- html - 使用 getElementsByClassName 抓取网站 --> 错误结果
- php - Chatbot - 如何通过单一响应识别和处理多个请求
- javascript - 警报出现得太早
- python - 在python中用列表计算列表中的元素
- c# - 如何在 RemoteWebdriver 上设置 commandTimeout?
- javascript - 从 JavaScript 中检索自定义属性(使用 Javascript 适配器)Keycloak