system("")じゃコマンドプロンプトでちゃうので、表示で実行する方法

定義

#include <Windows.h>
#pragma comment( lib, "shell32.lib" )

実行

ShellExecute(NULL, L"open", L"cmd.exe", L"/c C:/work/bat/test.bat", L"", SW_HIDE);