java.io.IOException

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

Samebug tips2

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


rafaelrafael

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


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1623

  • via Unknown by 807553,
  • via Unknown by 807553,
  • Stack trace

    • 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)

    Write tip

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

    Users with the same issue

    Qamer AliQamer Ali
    Once,
    PKeidelPKeidel
    3 times, last one
    serious2monkeysserious2monkeys
    Once,
    HandemelindoHandemelindo
    6 times, last one
    kidkid
    5 times, last one
    80 more bugmates