Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File(): finds file while it doesn't exist
Message
De
05/12/2000 14:34:42
 
 
À
05/12/2000 08:56:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00449220
Message ID:
00449574
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform