From: Abdelbacet MHAMDI on
Hello;
I have Matlab R2009b installed on my PC, the OS is Windows 7.
When I need to deploy a project, I got this error:

['cmd.exe' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.]
which means
Cmd.exe' is not recognized as internal or external command, a program, an executable or a batch file.

Thanks a lot
From: Abdelbacet MHAMDI on
I found a primary solution, but I am not yet convinced.
The remedy is, since MatLab is not responsible about this error, it is the os, I wrote a file, a blank one titled "cmd.bat", it is a batch file and I put it in the same directory as the file I want to deploy!.
Waiting for any new pieces of information.
Thanks.
From: Abdelbacet MHAMDI on
Hello;
The solution is to set the environment variable (Path) in order to locate the cmd.exe by adding the following pathname:
C:\Windows\system32
The same thing happened after deploying a standalone application, that is why I had to add the MCR directory to the environment variable too.
Thanks