Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File(): finds file while it doesn't exist
Message
From
05/12/2000 14:34:42
 
 
To
05/12/2000 08:56:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00449220
Message ID:
00449574
Views:
9
Hello,

Yes, the sms.ini-file exists on a path on the lan-server at g:\....

I didn't know about file() looking down the path, so I'll take your advice and turn to adir()!

Thank you very much,

Ivo Hubert



>Does the SMS.ini exist in another path? If file doesn't find it at the specified location, it will look down the given paths. I stopped using file() long time ago and used adir() instead. That only looks where you tell it.
>
>If that isn't it - then I'm as baffled as you :-)
>
>
>>Hello everyone,
>>
>>In an application I check if a file exists with the file()-funtion.
>>
>>I have used this function for many years, without a problem, all very straightforward.
>>
>>But now I have one application who gives on a workstation a result .T., while the file does not exist on it and has never existed there.
>>
>>It is an NT-workstation and the syntax is:
>>
>>if file("c:\station\sms.ini")
>>endif
>>
>>What is wrong?
>>
>>Best regards,
Ivo HUBERT
G.S.P. n.v., Development dep.
Antwerp
Belgium
ivo.hubert@skynet.be
Previous
Reply
Map
View

Click here to load this message in the networking platform