Kevin: I had this happen before where I could not copy a file. It was an issue in the Foxuser.dbf I opened the foxuser and found a reference to the file and deleted that record and all was right with the world again. Or the simplest way is to delete the foxuser completely (unless you have info in there). Regards,
Jack Skelley ________________________________________ From: [email protected] [[email protected]] On Behalf Of Kevin Cully [[email protected]] Sent: Wednesday, January 12, 2011 8:57 AM To: [email protected] Subject: Problem with COPY FILE and ERASE I've got a client with a procedure that (I didn't write and) hasn't been updated since 2007 and, until a few days ago, was reportedly working fine. XP Pro VFP 9 All of a sudden COPY FILE (src) TO (target) gives a "File Is in use" error. Likewise for the ERASE (cDir + "\*.*") statement. I've switched out the COPY FILE to a call through the WIN32API and I'm about to do a similar call for the ERASE statement but I was wondering if a Windows Update or an Antivirus change may have caused this? Has anyone seen anything like this before? [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/0b957900b2b8194d998a441195b6603839820f0...@drdsrv03.drdad.thenewarkarena.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

