Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILE() returns .T. when included in EXE
Message
From
04/11/2011 17:52:25
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
04/11/2011 17:31:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01528126
Message ID:
01528128
Views:
72
>>I'm sure this has been answered here before, but it's hard to find with search. I am using FILE() to check if a file exists at a specific location. This code has worked for years, but now I am including the file in question in the EXE. Now, FILE() returns .T. even though the file does not exist at the specified location. Is there a good way around this?
>
>You're right, that's known behaviour. I believe one workaround is to use ADIR( ).

That worked. Thanks.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Reply
Map
View

Click here to load this message in the networking platform