我遵循了几个链接来尝试解决此问题,例如 link1 ,他们要求我在环境变量中包含 exe 的路径。这是我尝试的以下命令,以获得此错误
D:\Gesture Recognition\Gesture Recognition\Debug>./"Gesture Recognition.exe"
rawrec1.trr
和错误
'.' is not recognized as an internal or external command,
operable program or batch file.
我将手势识别exe路径包含到环境变量的系统和用户变量中。即使启动系统后,错误仍然存在。有人可以帮我解决这个问题吗?
最佳答案
只需省略“点斜杠”./
:
D:\Gesture Recognition\Gesture Recognition\Debug>"Gesture Recognition.exe"
不过,如果您愿意,可以使用 .\
并且它会起作用。
D:\Gesture Recognition\Gesture Recognition\Debug>.\"Gesture Recognition.exe"
关于cmd - 如何修复 '.'不是内部或外部命令错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20765337/