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

date added to filename before saving

Status
Not open for further replies.

pontusr

Programmer
Jun 8, 2002
1
FI
i'm trying to make a program that makes a backupcopy of a file. and i would like to use api to add date to the filename before saving. I haven't still foud a suitable api function to use. Which function to use and what are the parameters i have to use???
Pontus
 
You could simply make a copy using

FUNCTION boolean CopyFileA(ref string s_from,ref string s_to,boolean b_flag) LIBRARY "Kernel32.dll"


and just concantanate the datetime stamp to the file name in code... an idea anyways.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top