Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY FILE Foo?
Message
From
05/04/2004 14:26:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
COPY FILE Foo?
Miscellaneous
Thread ID:
00892383
Message ID:
00892383
Views:
65
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
Next
Reply
Map
View

Click here to load this message in the networking platform