Error spawing:cmd.exe

keerth516's Avatar, Join Date: Nov 2011
Newbie Member
Hi,
I wrote a simple c program to read the each character from the text file which is saved in desktop and display in console window. I am using Visual c++(2008).At first i used to get other error when i compiled.NOw am getting error spawing :cmd.exe. I googled a lot and could find some setting in VC++ directories.

Tools->options->projetcs & soultions->VC++-> then set the three things $(SystemRoot)\System32,$(SystemRoot)\System32\wbem ,$(SystemRoot).but still could get ride of the same error.Please suggest me any advice to remove this error....
0
keerth516's Avatar, Join Date: Nov 2011
Newbie Member
By mistake i have selceted the X64 in the solution platforms.it should changed to win32 in oder to see the result in console window.