how can i clear the DOS screen through java program
i hava search so many web site but i can't found the proper ans.
thanx in advance [:)]
[QUOTE=adatapost;920551]Method [CODe=Java] Runtime.getRuntime().exec() [/CODE] requires an external command. CLS is internal dos command. To run internal command using exec() we have to use CMD (external) command. Try it at command prompt. [CODE] >cmd /? -- help >cmd /c cls [/CODE] [CODe=Java] // Will create a new process Process ps=Runtime.getRuntime().exec (new … Read More
Edited by Reverend Jim: Fixed formatting
Edited by michinobu_zoned: n/a
Edited by Ezzaral: n/a
Edited by __avd: Email snipped.