call "fpimport" (file is always locked)

Kenneth Brody kenbrody at bestweb.net
Sat Apr 16 16:39:08 PDT 2005


Quoting Mike Fedko (Wed, 13 Apr 2005 14:51:05 -0400):

> I am running a process using the SLEEP along with EXISTS commands to see
> if there is a file to be imported. If the file exists, I use CALL to run
> the import process. At the end of the actual import processing, I try to
> delete the .txt document, that was imported. At this point, the .txt
> file is always locked. I also tried to delete it after returning to the
> sleep processing, but it was still locked. I don't want to exit out of
> the process with the SLEEP command, but I need to delete the file once
> it has been imported. What am I missing?

Windows won't let you delete a file is anyone has it open.  (I assume
that this is a Windows system.)  Simply CLOSE the import before you
delete the file.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list