16,473
社区成员
发帖
与我相关
我的任务
分享
void Ctest_tmp_mfcDlg::OnBnClickedButton5()
{
// TODO: 在此添加控件通知处理程序代码
char dirPath[100], qjCmd[200];
CString tmp;
m_dir.GetWindowTextA(tmp);
strcpy(dirPath, tmp);
sprintf(qjCmd, "cmd.exe move aaa.txt %s", dirPath);
WinExec(qjCmd, SW_HIDE);
}