Anish Mistry
May 2nd, 1999, 04:49 PM
How would I copy files, Check if a directory exisits,and make directories in windows usind MFC w/o using the system() function%
|
Click to See Complete Forum and Search --> : How to Copy files in Windows Anish Mistry May 2nd, 1999, 04:49 PM 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 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |