I'm using PostScript drivers to create a *.ps file. This takes a few seconds and after it is created I would like to rename it and copy it to another location.
The problem I have is that the code falls through too quickly and it tries to rename the file before it even exists.
Any ideas how I can check to see if the file is finished with before I copy it? I would rather not get into a continuous checking loop as this will slow the program down.
Thanks,
Carl
The problem I have is that the code falls through too quickly and it tries to rename the file before it even exists.
Any ideas how I can check to see if the file is finished with before I copy it? I would rather not get into a continuous checking loop as this will slow the program down.
Thanks,
Carl