In the 2nd part of assignment 2 “Performer”, I get all the way to June and then it crashes (see attached screen-shot).
It appears to have processed from January Ok without the delete failing because it’s being used by another process.
Any pointers will be appreciated.
Before delete can you give path exists and check
Many thanks for your prompt response.
Actually, my error is because the file is being used by another process.
So, I added the test for file exists but that wasn’t the real cause of the problem.
Your assistance is greatly appreciated.