Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fullpath() Returning Incorrect Path
Message
De
05/11/2001 13:41:01
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00577485
Message ID:
00577503
Vues:
25
Sergey,

Okaaaaay... So, if the file doesn't exists then FullPath() returns the default directory? That's useful... :-\ I would think returning an empty string would make more sense. Oh, well...

Renoir



>Hi Renoir,
>
>That's the way FULLPATH() works. You have to use it in combination with FILE() to make shure that file realy exists
>? FILE( Fullpath('foxhelp.chm'))
>
>>I am using the following to determine a file location:
>>
>>
>>?Fullpath('foxhelp.chm')
>>
>>
>>It is returning:
>>
>>
>>J:\APPS\VFP\FOXHELP.CHM
>>
>>
>>Or whatever the default directory happens to be. The only place that this file exists is in:
>>
>>C:\Program Files\Microsoft Visual Studio\VFP98\
>>
>>
>>Any ideas why this is going on? BTW, it's possible this is related to another thread I started today, but I can't be certain. Thread #577376. Thanks!
>>
>>Regards, Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform