The problem I am having is that when the exe is executed again while it is already being run, it gives me an application error:
Application Error
Exception EFCreateError in module cowboy.exe at 0000A771.
Cannot create file "C:\Documents and Settings\Peebody\Local Settings\Application Data\cowboy.php". The process cannot access the file because the file is being used by another process.
So what I believe is happening is that the exe is trying to extract the file into the temp folder for running, but because another instance of it is already running, It crashes and gives the above error.
What can you recommend besides "Don't run 2 at the same time."
![Wink ;)](./images/smilies/icon_wink.gif)
Is there a way for a batch file to check if a file already exists?
Is there a way to loop the check and execute when the file is no longer existing?
Or is there a better way of dealing with this?
Thanks.