Performs a copy, move, rename, or delete operation on a file system object. WINSHELLAPI int WINAPI SHFileOperation( LPSHFILEOPSTRUCT lpFileOp ); ParameterslpFileOpPointer to an SHFILEOPSTRUCT structure that contains information the function needs to carry out the operation. Return ValuesReturns zero if successful or nonzero if an error occurs. See AlsoSHFILEOPSTRUCT
http://xuhao23.myetang.com/kj/file/ 简介:TFileOperation 构件封装了 Windows 95/Windows NT 4.0 Shell API 的 SHFileOperation 函数,能够很方便的复制、删除、搬移、更名文件
然后用findfirst和findnext查找C:\sh的所有文件,用copfile拷贝我不知道有没有新函数。
);
ParameterslpFileOpPointer to an SHFILEOPSTRUCT structure that contains information the function needs to carry out the operation. Return ValuesReturns zero if successful or nonzero if an error occurs. See AlsoSHFILEOPSTRUCT
简介:TFileOperation 构件封装了 Windows 95/Windows NT 4.0 Shell API 的 SHFileOperation 函数,能够很方便的复制、删除、搬移、更名文件