Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find some file in folder
Message
From
12/02/2008 09:17:22
 
 
To
12/02/2008 09:08:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01291767
Message ID:
01291777
Views:
8
>Dear Experts
>
>There is a folder in following location
>
>d:\accounts\pictures\1101.jpg
>
>How to findout this file exists or not?
>
>Please help

The file() function is not always reliable since it will check your complete path even if you tell it to check a specific path. This is better
llFileExists=adir(temp,'d:\accounts\pictures\1101.jpg')>0
Previous
Reply
Map
View

Click here to load this message in the networking platform