Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILE() and file at the root
Message
From
12/07/2001 14:21:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00529793
Message ID:
00529890
Views:
8
the solution I use successfully is:
empty( sys(2000,'c:\upload.txt'))  && if .t. file does not exist!
>I am using FILE() with a full path and a full file name. It works great unless the file is located directly under the root. FILE('C:\upload.txt') will return .T. as long as upload.txt is in the path. It does not matter that c:\upload.txt does not exist.
>
>Is this known behavior for FILE()? What are my other options?
>
>Thanks
>
>Brenda
Previous
Reply
Map
View

Click here to load this message in the networking platform