java.io.IOException: CreateProcess: copy c:\temp\test.txt c:\temp\test2.txt error=2

tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • OS level calls in Java.. example.
    via by 807553,
  • System calls
    via by 807553,
  • Executing DOS commands in Java
    via by 807597,
  • Runtime.exec()
    via by Shaan Shar,
  • How can I clear the screen?
    via by jungil,
    • java.io.IOException: CreateProcess: copy c:\temp\test.txt c:\temp\test2.txt error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.<init>(Win32Process.java:61) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Runtime.java:546) at java.lang.Runtime.exec(Runtime.java:413) at java.lang.Runtime.exec(Runtime.java:356) at java.lang.Runtime.exec(Runtime.java:320) at Test.main(Test.java:7)

    Users with the same issue

    PKeidel
    PKeidel3 times, last one,
    serious2monkeys
    serious2monkeys1 times, last one,
    Handemelindo
    Handemelindo6 times, last one,
    kid
    kid5 times, last one,
    Unknown visitor1 times, last one,
    79 more bugmates