eg. Code will say:
copy file A to B
delete A
Most of the time it is OK but at times B is created correctly but when the "delete A" line is run it says "file not found".
My theory is that because the directory that B is being placed contains approx 50,000+ files that control is returned to fox from the OS before the copy is complete and so when it runs the delete line it can't as it is still being copied.
1) Is this a logical conclusion?
2) Anyone know where I can find proof that our client shouldn't have 50,000+ files in a directory, as their IT manager is arguing the point with us, causing me a lot of trouble?
copy file A to B
delete A
Most of the time it is OK but at times B is created correctly but when the "delete A" line is run it says "file not found".
My theory is that because the directory that B is being placed contains approx 50,000+ files that control is returned to fox from the OS before the copy is complete and so when it runs the delete line it can't as it is still being copied.
1) Is this a logical conclusion?
2) Anyone know where I can find proof that our client shouldn't have 50,000+ files in a directory, as their IT manager is arguing the point with us, causing me a lot of trouble?