What I want to do is pretty straightforward : work on a file in a temporary folder, when done, copy it to a data folder, then delete the temp folder...
Something like this :
Code: Select all
copyto "D:\Data", "R:\TEMP\d_work\TestFile.txt";
delete 0,0,"R:\TEMP\d_work";
$FileName=listfolder("D:\Data");
echo $FileName;
The temp folder seems to be deleted before the file is copied.
It was working OK until I enabled Backgroung processing. It seemed a good idea.
There must be something I misundertand in this background processing thing, can anybody explain?
Thanks.