I have to copy files with a
.tmt extension to a folder(ex:
\main\allfiles\) from many sub folders under
My issue is after copying all files from one folder, I have to run a java command and then copy again from the next folder and then run the java command again.
We do a copy file by file. After the first file gets copied from
/individualfiles/1/, we copy the next file from
/individualfiles/1/ and then we go to the next folder
/individualfiles/2/ and again copy files individually.
Please let me know how to run the java command after all files have been copied from a folder.