EDN Admin
Well-known member
system() is not recognizing any external exe as an internal or external command in VS2010 code?
<pre class="prettyprint system("cmd");
system("ping 192.168.1.1 -t");
system("echo %path%");[/code]
I have tried all of the above line in first two it returning " <*> is not recognized as an internal or external command " and I have checked the path variable by last line, it includes system32. I have run the same line in other
project, I have in VS2010 on my mechine it rus fine. Even it was running fine in my code too but not now. By that I concluded that (I may be wrong) this problem is due to some setting in my VS project and I am not sure which setting.
can any help me to change that setting back.
<hr class="sig Saurabh
View the full article
<pre class="prettyprint system("cmd");
system("ping 192.168.1.1 -t");
system("echo %path%");[/code]
I have tried all of the above line in first two it returning " <*> is not recognized as an internal or external command " and I have checked the path variable by last line, it includes system32. I have run the same line in other
project, I have in VS2010 on my mechine it rus fine. Even it was running fine in my code too but not now. By that I concluded that (I may be wrong) this problem is due to some setting in my VS project and I am not sure which setting.
can any help me to change that setting back.
<hr class="sig Saurabh
View the full article