Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Hi Naomi,
Excuse me, but I think that just posted part of the problem and part of solution.
The command COPY FILE doesn't work when the path has spaces, nor using the solution suggested by Jim (COPY FILE URV.DBF TO "C:\Documents and Settings\URV.DBF")
Then I created a Function that when I inform the path windows it returns me a path DOS for instance:
cDosPath = GetDosPath ("c:\program Visual files\MicroSoft FoxPro 9")
Supposing that I have installed Visual FoxPro 8 and Visual FoxPro 9 the returned path will be C:\PROGRA~1\MICROS~2, therefore a path valid DOS that being used in the command COPY FILE will work perfectly.
For instance:
COPY FILE URV.DBF TO ( GetDosPath("c:\program Visual files\MicroSoft FoxPro 9") + "\URV.DBF")
[]´S
Dionísio
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement