Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BackUp/Copia de seguridad
Message
From
24/07/2002 10:52:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/07/2002 10:44:30
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00682044
Message ID:
00682054
Views:
24
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform