BOOL WINAPI MoveFile(
__in LPCTSTR lpExistingFileName,
__in LPCTSTR lpNewFileName
);
BOOL WINAPI MoveFileEx(
__in LPCTSTR lpExistingFileName,
__in_opt LPCTSTR lpNewFileName,
__in DWORD dwFlags
);
MoveFile ((LPCTSTR)_T("123.txt"), (LPCTSTR)_T("1234.txt"));
MoveFile ((LPCTSTR)_T("D:\\1234.txt"), (LPCTSTR)_T("C:\\12345.txt"));
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |