I am prompting the user for input in a DOS window:
System.out.print("Enter yourt name: ");
entry = (char) System.in.read();
How do I clear the screen first? I want to do a DOS CLS command. I
have tried:
Runtime runTime = Runtime.getRuntime();
try
{
Process process1 = runTime.exec("command /c cls");
}
catch (java.io.IOException io)
{
System.out.println( "Error" + io );
}
But this doesn't work. Does anyone know how to do this?
Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people