Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fullpath() Returning Incorrect Path
Message
From
05/11/2001 13:41:01
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00577485
Message ID:
00577503
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform