Your options are quite limited. The only way I can think of is to just make copies of the files using SQL:
lnRetVal = ADIR(laTables, ADDBS(PATH_TO_DATA) + [*.DBF])
FOR lnI = 1 TO lnRetVal
lcTable = laTables[lnI, 1]
SELECT * FROM (lcTable) INTO TABLE ADDBS(BACKUP_PATH) + lcTable
ENDFOR
Use GETDIR() to allow the user to specify where to place the backup data and test to make sure it is different from the actual data location.
>Hi
>
>I want include in my exe , a prg to end user make backup .
>
>But i don´t want , use one OCX , because i don´t like . OCX give many times
>error "don´t register" .
>In my distribution CD , i want have all the things to backup work ok .
>
>I don´t found anything like this in download in U.T.
>
>Can you help me ?
>
>Thanks
Mark McCasland
Midlothian, TX USA