Hello,
I want to run the dos command in my java code. Still now i have done this, but not quite what i am expecting.
Any more help on this topic will be appreciated. Thanks in advance.Code:try{ Runtime.getRuntime().exec("shutdown-a"); }catch(Exception e){ System.out.System.out.println("error"); }
Bookmarks