I have a JavaFX Project. I open the CMD on a button click, but the CMD shows file path. Is it possible to not show file path and simply provide an update message similar to the one below?
How would i do so? The following is how i open the CMD window.
try{
Runtime.getRuntime().exec("cmd.exe /c start cls cd\\");
System.out.println("ok");
}
catch(Exception e){
e.printStackTrace();
}
Thank you for your help