Kill and FSO.Deletefolder Create Permission Denied 70 Error (1 Viewer)

Fat

New member
Local time
Today, 12:54
Joined
Jul 25, 2011
Messages
4
I can't seem to get all of the files within a folder to delete, I can't even delete the folder. Funny thing is that it's always a file called 9.tif or 99.tif.

I've tried KILL on those specific file names, I've tried renaming the files, I've tried cutting and pasting the files, I've tried FDO delete and those all do nothing. I'm getting this permission denied when I take out the resume on error clause. This seems so banal but has become perfidious to say the least.

Here's what I'm doing:
1. Grab all tif images from file server and send to c:\batch\temp folder
2. Combine all the tif files into one tif file in c:\batch folder
3. Delete all tif files in temp folder
4. Loop to next record and get all tif images tied to that record (step 1).

I think it believes the files I've combined into one tif file are still open, but they aren't, and its only files 9.tif and 99.tif. How can I get around this, possibly force all open tif files to close or something? I've lost 2 days on this stumbling block and any help would be very appreciated!
 
Last edited:

Users who are viewing this thread

Top Bottom