Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix '.' is not an internal or external command error

I have followed few links to try and solve this issue, such as link1 , where they have asked to me include the path of the exe in the environment variables. This is the following command I tried, to get this error

       D:\Gesture Recognition\Gesture Recognition\Debug>./"Gesture Recognition.exe"         rawrec1.trr 

and the error

    '.' is not recognized as an internal or external command,      operable program or batch file. 

I included the gesture recognition exe path into the systems and user variables of the environment variables. Even after booting the system, the error still persisted. Can anybody help me to solve this or fix this? Thanks in advance

like image 272
Lakshmi Narayanan Avatar asked Dec 24 '13 18:12

Lakshmi Narayanan


People also ask

Is not internal or external command?

The “Python is not recognized as an internal or external command” error is encountered in the command prompt of Windows. The error is caused when Python's executable file is not found in an environment variable as a result of the Python command in the Windows command prompt.

What is not recognized as an internal command in CMD?

The “is not recognized as an internal command” error usually occurs because the computer can't find the executable that you're asking it to launch. However, you can provide it with the full path to your executable file and it should then be able to run it without any issues. Launch a Command Prompt window on your PC.


2 Answers

Just leave out the "dot-slash" ./:

D:\Gesture Recognition\Gesture Recognition\Debug>"Gesture Recognition.exe" 

Though, if you wanted to, you could use .\ and it would work.

D:\Gesture Recognition\Gesture Recognition\Debug>.\"Gesture Recognition.exe" 
like image 52
Chris Leyva Avatar answered Sep 28 '22 14:09

Chris Leyva


Replacing forward(/) slash with backward(\) slash will do the job. The folder separator in Windows is \ not /

like image 30
Dila Gurung Avatar answered Sep 28 '22 16:09

Dila Gurung