How about this then.
Runtime.getRuntime().exec("cmd /c start c:/work.txt");
// Json
Type: Posts; User: Json
How about this then.
Runtime.getRuntime().exec("cmd /c start c:/work.txt");
// Json
Ok, will this only be run on windows systems then I take it?
// Json
start seems to be an invalid command.
This works for me.
Runtime.getRuntime().exec("notepad.exe C:/WORK.txt");
// Json
First of all, what exactly do you want to do, open the text file?
Do something like this maybe.
Runtime.getRuntime().exec("start C:/WORK.txt");
// Json