I'll look at that Thanks Ted
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Ted Roche Sent: 02 August 2019 14:56 To: profoxtech@leafe.com Subject: Re: Get file path and name from file handle
Sent by an external sender ------------------------------
On 02/08/2019 13:22, Paul Newton wrote:
Hi all
How can I get a file path and name from a file handle (returned by
FCREATE)? I am sure that there is a Windows API to do this but I cannot workout how to call it from VFP.
That question is a doozie! What corner have you gotten yourself painted into?
More info would be helpful.
I think a string search on a FileToStr() on a LIST STATUS TO FILE might do it, but (Happy Days!) there aren't any Windows machines handy for me to test it.
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]