ShellExecute函数,各参数含义,以及头文件自己找找。
CString strFile = _T("E:\\1.bat");ShellExecute(NULL, _T("open"), strFile, _T(""), NULL, SW_HIDE);