Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on File()
Message
From
09/08/2010 13:21:37
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01475734
Message ID:
01475781
Views:
29
>>>>>Does .EXE have to be in the PATH or .EXE simply searches through itself even if it is not in the PATH?
>>>>
>>>>
>>>>No, VFP just searches in EXE.
>>>
>>>What if the exe calls another APP or exe?
>>
>>Nope, only in the currant EXE (where FILE function is called) :-)
>>Not in ALL EXEs in the disk :-)
>
>I meant VFP application calling, say, VFP app as part of it. But I believe it will only search in the first exe and not in any dependent apps (exes).
IIRC FILE() will return .T. for any files included into the module (i.e. APP/EXE) in which the FILE() funciton was called or is available externally. It won't detect presence of a file that was built into a calling APP/EXE.
Previous
Reply
Map
View

Click here to load this message in the networking platform