首页 > 解决方案 > 使用来自 power-shell 脚本的 Visual Studio 命令提示符运行批处理文件

问题描述

我想在 power-shell 脚本中使用 Visual Studio 命令提示符运行批处理文件。现在 build.bat 文件在我的 power-shell 脚本中使用命令提示符运行,例如“cmd /c”build.bat”。

我想使用 Visual Studio 命令提示符来运行它,而不是 power-shell 脚本中的常规命令提示符。有人可以告诉我该怎么做吗?

标签: visual-studiopowershellcommand-prompt

解决方案


推荐阅读