Does a batch file execute processes in sequence only if the previous step has completed and released all file/process locks?
Suppose I have the following cmd file (mybatchfile.cmd)
echo. |TIME
java myjar.jar
echo. |TIME
and I pipe the results to a log file.
Can I be 100% confident (on windows) that my java process has completed and released all file/process locks when the second echo timestamp has occurred?