Home > Back-end >  How to grab the Java CMD command to complete
How to grab the Java CMD command to complete

Time:04-17

Demand is regularly back up historical pictures, and delete the original picture
I am using Java obtaining CMD
Xcopy CMD/c c: \ Image \ 100050\20200601 E: \ BackUp \ 100050\20200601/s/E/y
CMD rd/s/q/c c: \ Image \ 100050\20200601
If the file is very big, will lead to replication, delete
Process. The isalive () didn't work
To ask you, is there a way to achieve

CodePudding user response:

Java you can delete the file, why want to use this way to do that...

CodePudding user response:

reference 1st floor maradona1984 response:
Java you can delete the file, why use this way to do that...

The thinking of the batch, Java use cycle, worry will slowly
  • Related