Secondo il seguente codice mi aspettavo di vedermi aprire il file txt a schermo.
Perchè, tenendo conto che non finisce in un catch, non succede quanto mi aspetto?
Runtime rt = Runtime.getRuntime();
commands[0] = "cmd.exe";
commands[1] = "cd " + myPath;
commands[2] = file.txt;
rt.exec(commands);