Bluepoint Design

Practical Cost-Effective Solutions
MEP player maintains some kind of file lock on server share after macro has completed.


I created a simple macro that would delete specific PDF files in a recovery folder on a Windows 2003 Server over the network based on the contents of another folder. Macro finished successfully. A user then disposed the remaining Acrobat files and complained when they are unable to delete the folder. No one could delete, view or change permissions or ownership on the folder, even the Admin account.  Even iCACLS was unable to do anything besides see that it existed. The server reported no file locks on that folder. A day later while reviewing the problem again I was considering how Acrobat often keeps locks opens even though the file is closed and thought of what apps had been using that folder. Going back to the machine that I ran the macro from which was another Windows 2003 Terminal Server I found MEP idle in the system tray. I terminated MEP and the folder instantly disappeared. Apparently MEP had some sort of invisible lock on the folder but none of the files and Windows was simply waiting for the lock to disappear before it completed the deletion.
 
Practical Cost-Effective Solutions