gpt4 book ai didi

windows - 如何从查看 ProgramFiles (x86) 的命令行启动 IIS Express?

转载 作者:可可西里 更新时间:2023-11-01 11:12:36 26 4
gpt4 key购买 nike

基本上就是这个问题。我尝试了几个选项:

iisexpress /path:"C:\ProgramFiles (x86)\PathToMyApp" /port:9000
iisexpress "/path:C:\ProgramFiles (x86)\PathToMyApp" /port:9000
iisexpress /path:C:\ProgramFiles^ ^(x86^)\PathToMyApp /port:9000
iisexpress "/path:C:\ProgramFiles (x86)\PathToMyApp" /port:9000
iisexpress /path:C:\ProgramFiles%20(x86)\PathToMyApp /port:9000

可能还有其他一些我忘记了。通常,该命令什么都不说就直接退出。通过一些选项,我得到:

The term 'x86' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:38
+ .\iisexpress /path:%ProgramFiles (x86 <<<< )%\PathToMyApp /port:9000
+ CategoryInfo : ObjectNotFound: (x86:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

正确的做法是什么?

最佳答案

我还没有测试过这个,但你试过在 Program 和 Files 之间加一个空格吗?

iisexpress /path:"C:\Program Files (x86)\PathToMyApp" /port:9000

关于windows - 如何从查看 ProgramFiles (x86) 的命令行启动 IIS Express?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26269417/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com