Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backing up
Message
De
07/02/2002 06:04:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/02/2002 00:38:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00616350
Message ID:
00616482
Vues:
36
>>Dear everyone
>>How can you make a backup copies of your foxpro program folder during run time when you issue eg., copy file C:\fox\*.* to d:\mycopy\*.* without creating an error "file is in use". I laready tried the "close all" command but it did not work. Thanks
>
>You might try using the Win32 API call SHFileOperation() to perform the copy - it allows for wildcarding, copying of shared files and continuing to copy in the face of copy errors. It's documented in the Win32 API section.

Ed,

Does it also allow to copy an entire folder - with all subfolders?

Actually, I am looking for any relatively simple sample to compare API and WSH, for a programming course I am giving.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform