[英]why can't I run this exe file from the command prompt?
My file's path is D:\installed software\Wing IDE 3.2\bin\wingide.exe
.我的文件路径是
D:\installed software\Wing IDE 3.2\bin\wingide.exe
。
Now I want to run the wingide.exe
file on the command line.现在我想在命令行上运行
wingide.exe
文件。 So first, I enter cmd
to the startup box, then get C:\Documents and settings\Administrator>
所以首先我在启动框输入
cmd
,然后得到C:\Documents and settings\Administrator>
Then I typed d:
then installed software\Wing IDE 3.2\bin\wingide.exe
after it.然后我输入
d:
then installed software\Wing IDE 3.2\bin\wingide.exe
。 and click the enter key.并单击回车键。 It shows
D:\installed is not an command
.它显示
D:\installed is not an command
。 Why?为什么? How can I correct this?
我该如何纠正?
Your path has a space in it so you need to put quotes around it.您的路径中有一个空格,因此您需要在其周围加上引号。 Try typing:
尝试输入:
"D:\installed software\Wing IDE 3.2\bin\wingide.exe"
Type:类型:
"D:\installed software\Wing IDE 3.2\bin\wingide.exe"
The Windows command prompt (I hope you are not actually using MS-DOS.) does not care about what keys you've typed: It cares about the command you are attempting to run and it seems it's this: Windows 命令提示符(我希望您实际上没有使用 MS-DOS。)不关心您键入的键:它关心您尝试运行的命令,它似乎是这样的:
installed software\Wing IDE 3.2\bin\wingide.exe
So you are asking to run program "installed" and pass three parameters to it:因此,您要求运行“已安装”程序并向其传递三个参数:
... because that's how most command prompts work: you use white space to separate items. ...因为这就是大多数命令提示符的工作方式:您使用空格来分隔项目。 You probably want this:
你可能想要这个:
"installed software\Wing IDE 3.2\bin\wingide.exe"
or:或者:
"D:\installed software\Wing IDE 3.2\bin\wingide.exe"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.