Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird behaviour of FILE() and other commands
Message
 
 
To
06/08/2002 11:31:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00685621
Message ID:
00686833
Views:
45
You're welcome. However it was Yuri who pointed you to the file attributes.

>My pc is win200 pro, I created the file in notepad and saved with extension INI, the system seems to assign certain attributes, that as you said need to be changed.
>
>I tried with other INI from other people and the FILE() couldn't find it/them.
>
>So, I tried changing the properties of the file and worked !
>
>Thanks you !
>
>
>>It works for me. For example,
? file("C:\winnt\win.ini")   && Returns .T.
It's not file extension (INI) but something else.
>>
>>>Hi,
>>>
>>> I found this problem in VFP60 and VFP70 (at least!), the command FILE()
>>>returns .f. if the file has extension INI, I have a file
>>>D:\MQCORE\FTP.INI and is readable and you can open it in notepad, or other application, but this command returns .f., and I noticed other more behave the same
>>>
>>>? FILE("D:\MQCORE\CIC_FTP.INI")
>>>
>>> I want to upload the data to a cursor using the APPEND FROM command, but because of this problem this command pop ups an error message ( you can
>>>try!)
>>>
>>> Is there anybody who had the same problem? how did you resolved?
>>>
>>>Thanks!
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform