Hi I have a unique problem here. My program writes a batch file, which in turn uses xcopy to copy particular files to remote machines. In addition, the remote machines will run the files which are copied.
Now my question is how am I able to find out (on the cilent side) my file has finished coping using the xcopy. Use file exists or find the length (size) of the file?
Heres a snippet of the pseudo code:
Server
if (send button is press)
open batch file for writing commands
xcopy ..\test.exe
xcopy ..\test2.exe
end if
Cilent:
if(xcopy is finished)
execute test.exe
execute test2.exe
end if
Many thanks
Message was edited by:
Zsefv