#include <shellapi.h>
SHFILEOPSTRUCT fileop;
fileop.hwnd = hWnd;
fileop.wFunc = FO_COPY;
fileop.pFrom = "d:\\temp\\*.tmp";
fileop.pTo = "c:\\temp\\";
fileop.fFlags = FOF_SILENT and FOF_NOCONFIRMATION;
if (SHFileOperation(&fileop) != 0) {
// Fail
}
SHFILEOPSTRUCT fileop;
fileop.hwnd = hWnd;
fileop.wFunc = FO_COPY;
fileop.pFrom = "d:\\temp\\*.tmp";
fileop.pTo = "c:\\temp\\";
fileop.fFlags = FOF_SILENT and FOF_NOCONFIRMATION;
if (SHFileOperation(&fileop) != 0) {
// Fail
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货