CreateProcess error=2, The system cannot find the file specified
Assuming that winrar.exe is in the PATH, then Runtime.exec is capable of finding it, if it is not, you will need to supply the fully qualified path to it, for example, assuming winrar.exe is installed in C:/Program Files/WinRAR you would need to use something like… Personally, I would recommend that you use ProcessBuilder as it has some additional configuration abilities amongst other things. Where possible, you … Read more