Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY FILE adds folder to path
Message
De
03/03/2021 21:36:34
 
 
À
03/03/2021 14:39:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678721
Message ID:
01678740
Vues:
42
J'aime (1)
My guess is that the file that you are trying to copy is also a file in the project (same name). The file you have is a report file (FRX) and I guess that your project structure contains this file in a sub-directory "Reports". In the project file, it stores the path relative to the base directory containing the PJX file. So it would store as:

..\Reports\MyFile.FRX

If the 'Reports' directory exists as a sub-directory from your project file. During execution of the built project, VFP will always use the file included in the build regardless of the path that you give. So I am guessing that the copy command is being 'hijacked' by this and the relative path is being set to your variable.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform