This discussion is archived
1 Reply Latest reply: Oct 2, 2012 2:47 PM by DarrylBurke RSS Cannot run program "cmd.exe": CreateProcess error=5

965728 Newbie
Currently Being Moderated
As a part of diagnostic effort we copied cmd.exe from system32 folder of windows to C:\\ drive and tried to run from an applet and get following exception : Cannot run program "cmd.exe": CreateProcess error=5, Access is denied

The problem is with JRE 1.7 whereas on JRE 1.6 it runs fine.

Renamed it to cmdx , runs fine.

So any program named as cmd does not run at all.

The applet jar is signed.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points