Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fullpath() not working
Message
From
01/03/2004 23:26:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Fullpath() not working
Miscellaneous
Thread ID:
00882238
Message ID:
00882238
Views:
52
I'm using VFP 7.0

When I compile my exe, fullpath() quits working properly.
Before running the exe I move my developement folder so the exe cannot find it.
I move c:\myFolder to c:\Temp\myFolder
I run the exe from "c:\Program Files\my2ndFolder"
lparameters tcText
local lcText, lcFile

lcFile = 'myFile.HTML'
lcText = TEXTMERGE( tcText ,.T. )
STRTOFILE( lcText ,lcFile )

lcFile = FULLPATH( lcFile )
return lcFile
This returns "c:\myFolder\myFile.HTML", even though "c:\myFolder" doesn't exist.
I've verified that curdir() = "c:\Program Files\my2ndFolder".
I have "use default directory" unchecked in my options.
If it returned "c:\Program Files\my2ndFolder\myFile.HTML", I would infer that it wasn't finished saving it on disk.

TIA
Bill Morris
Next
Reply
Map
View

Click here to load this message in the networking platform