java.io.IOException

CreateProcess: start command /k s.bat error=2

Samebug tips2

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

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

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

Solutions on the web11406

  • via Oracle Community by 807555, 11 months ago
    CreateProcess: start command /k s.bat error=2
  • via Coderanch by venkat paruchuri, 11 months ago
    CreateProcess: start error=2
  • via Oracle Community by 807546, 9 months ago
    CreateProcess: start c:otepad.lnk error=2
  • Stack trace

    • java.io.IOException: CreateProcess: start command /k s.bat error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.<init>(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at RuntimeTest.main(RuntimeTest.java:17)

    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

    Once, 6 days ago
    3 times, 6 months ago
    Once, 7 months ago
    6 times, 8 months ago
    5 times, 8 months ago
    80 more bugmates