1
@echo OFF
mkdir saida
sort %1 > cadperfiSorted 2>> saida\error.txt
start MAKEOPEACER5.jar cadperfiSorted
del cadperfiSorted
//OPEACER5 é um arquivo gerado pelo .jar
move OPEACER5 saida
This is the script I’m trying to run.
Everything seems to work well the problem is that the function del
and the function move
just doesn’t work.
It is possible that the command running . jar (java?) is not finished yet. With this, the
del
is trying to delete a file in use (which you will not be able to), andmove
is trying to move a file that does not yet exist. Try usingstart /wait MAKEOPEACER5...
– carlosfigueira
Thank you for the reply.
– Manuel Almeida