I am working on live project where I use JAVA programming language. I want to implement DOS command in JAVA.. Still now I have done this, but not quite what I am expecting.
If you are having any suggestions then reply me. It can helpful to me.Code:try { Runtime.getRuntime().exec("shutdown-a"); }catch(Exception e){ System.out.System.out.println("error"); }



Reply With Quote
Bookmarks