|
-
May 2nd, 1999, 04:49 PM
#1
How to Copy files in Windows
How would I copy files, Check if a directory exisits,and make directories in windows usind MFC w/o using the system() function%
-
May 2nd, 1999, 07:49 PM
#2
Re: How to Copy files in Windows
You may want to try the API CopyFile(LPCTSTR Source, LPCTSTR Destination, BOOL FALSE) to copy with overwrite.
Use CFileFind::FindFile(LPCTSTR NameToFind, 0) to locate the Directory/File.
Then, use _mkdir(const char *NameOfDirectory) to create the directory.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|