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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's the command for copying files? 1

Status
Not open for further replies.

ascht

Programmer
Sep 22, 2000
43
CH
What's the command for copying files?
I want to backup a file by the copy command before i write the new
one.

Andrew
 
Andrew,

> What's the command for copying files?

I'm not sure what you mean by 'command' but here is the Win32 API for Copying files:

BOOL CopyFile(
LPCTSTR lpExistingFileName, // name of an existing file
LPCTSTR lpNewFileName, // name of new file
BOOL bFailIfExists // operation if file exists
);


Hope this helps
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top