Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BackUp/Copia de seguridad
Message
De
24/07/2002 10:52:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/07/2002 10:44:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00682044
Message ID:
00682054
Vues:
23
>Hi...
>I am trying to make a backUp of the database that is in use. I tried to make a copy of the tables and database files in another directory. A button in a form has this:
>
>sArchivosACopiar="\\internet\c\archivos de programa\casa\progs2002\sinfodbc\*.*"
>
>sADonde="\\internet\c\archivos de programa\casa\progs2002\CopiaDatos\"
>
>RUN Copy &sArchivosACopiar &sADonde
>
>But when I tried to do this an error message appears:
>"Fallo al ejecutar el comando RUN!"
>
>what am I doing wrong?
>Thanks

Expand the entire command, including the RUN:
lcCommand = "RUN COPY " + sArchivosACopiar + space(1) + sAdonde
&lcCommand
See also Download #10009.

Saludos, 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