You can do that this way :

Code: C++
system("Temp.bat");

In case, you need to provide full path to the bat file, remember to use double backslashes (\\) instead of a single one (\) in the path. For example :

Code: C++
system("C:\\Temp\\Temp.bat");