其實Help有,但是要自訂安裝,把MS help加進去,然後找Win32 SDK
的指令。
The DeleteFile function deletes an existing file.
BOOL DeleteFile(
LPCTSTR lpFileName // pointer to name of file to delete
);
The CopyFile function copies an existing file to a new file.
BOOL CopyFile(
LPCTSTR lpExistingFileName, // pointer to name of an existing file
LPCTSTR lpNewFileName, // pointer to filename to copy to
BOOL bFailIfExists // flag for operation if file exists
);
The MoveFile function renames an existing file or a directory (including all its
children).
BOOL MoveFile(
LPCTSTR lpExistingFileName, // address of name of the existing file
LPCTSTR lpNewFileName // address of new name for the file
);
--
※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: bird.hfu.edu.tw
--
[1;36m華梵大學 [1;32m青橄欖
[1;35mEmail: HCW...@bbs.hfu.edu.tw
[0m
--
[1;34m * 來源: 華梵大學‧阿育王 BBS <203.64.33.5> telnet://bbs.hfu.edu.tw/ [m
[1;34m * 作家: ㊣ [From: bird.hfu.edu.tw] [m
Win32 API裡就有Copy的指令了...我記得好像是CopyFile()
不用自己寫啦....若你要自己練習...我也不反對...
--
[m [1;34m※ 來源:‧蛋捲廣場 bbs.tku.edu.tw‧[FROM: 210.17.57.104] [m