I have a software under windows 7 that automatically check every 3 seconds if
my digital camera have new images taken if it found it this software automatically
download the last picture from my camera and put under a hotfolder.
I make a script that every 3 seconds automatically check if a new image is found
inside this hotfolder, copy this image to another folder and delete the hotfolder
image to keep the hotfolder always empty.
Everything is running fine but when my script runs at the same time when the other
software are copying the image from my camera the resulting copied file is incomplete.
I was looking for a piece of script that i can add to my .bat file that check if the image
(*.jpg) file inside the hotfolder is complete and then copy the file from the hotfolder
to another
Thanks in advance for your advice !