Hi,

I just need to open command promp from C++. This is the current code I am using but i get a load of errors.
Code:
#include <shellapi.h>


int main()
{
	ShellExecute(NULL, "open", 
	"C:\Documents and Settings\04714975\Start Menu\Programs\Accessories\cmd.exe", "cd", NULL, SW_SHOW)



 return 0;
}