I want to copy a file using this :
Process process = Runtime.getRuntime()
.exec("cmd.exe /c copy C:\test1\toto.PDF C:\test2\toto.PDF");
When i execute the command manually, it works, but when i tried to do it from my IDE, nothing happened. can someone tell me what is wrong with this please.
thanks.