[英]CMD: 'C:\Users\Md' is not recognized as an internal or external command, operable program or batch file
I'm new to selenium and currently studying selenium IDE I'm trying to run selenium side runner by using command prompt but it returns 'C:\Users\Md' is not recognized as an internal or external command, operable program or batch file.我是 selenium 的新手,目前正在学习 selenium IDE 我正在尝试使用命令提示符运行 selenium side runner 但它返回 'C:\Users\Md' 未被识别为内部或外部命令、可运行程序或批处理文件. My project location- "C:\selenium_webdriver\Project2.side"
我的项目位置-“C:\selenium_webdriver\Project2.side”
My command:我的命令:
I have tried我努力了
It's the spaces in Md Zin Bin Dekan.就是Md Zin Bin Dekan的空间。 Use C:\Users\Md~1 or remove the spaces from the directory
使用 C:\Users\Md~1 或从目录中删除空格
Check if the npm
folder lies under %AppData%
.检查
npm
文件夹是否位于%AppData%
下。 If so then copy/move the npm
folder to a path which has no space in it ( C:\npm
eg).如果是这样,则将
npm
文件夹复制/移动到其中没有空格的路径(例如C:\npm
)。 Then change the npm
path within your PATH
environment variables to the path you chose before.然后将
PATH
环境变量中的npm
路径更改为您之前选择的路径。
Close all command-line windows (if any open), open a new window and try your command.关闭所有命令行 windows(如果有打开的),打开一个新的 window 并尝试您的命令。 If you still run into issues type
path
in the command line und check whether your changes had been saved.如果您仍然遇到问题,请在命令行中键入
path
并检查您的更改是否已保存。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.