Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY FILE Foo?
Message
De
05/04/2004 14:26:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
COPY FILE Foo?
Divers
Thread ID:
00892383
Message ID:
00892383
Vues:
64
Anybody seen this?
LOCAL ;
   lcFile,;
   laSrc[1]

lcFile = "C:\PROJECTS\COMMON\ADD.BMP"

IF ADIR(laSrc,lcFile) > 0
   COPY FILE (lcFile) TO <destination>
ENDIF
And the COPY FILE line throws an error 1, "File does not exist"--ONLY in compiled executable (.exe with Fox runtime only) but runs just fine from source code? (I started out using IF FILE(lcFile) but changed that thinking it might be the source of the problem. Changing to ADIR() made no difference.) BTW, the file DOES exist.
Ray Roper
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform