Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy files

Status
Not open for further replies.

DaZZleD

Programmer
Oct 21, 2003
886
US
how can I copy multiple files at run time from one location to another?

thanks
 
all i could find was
Code:
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 best way would be to create a list of files and run through them in a loop using the copyfile command.


When your feeling down and your resistance is low, light another cigarette and let yourself go [rockband]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top