I\'m trying to figure out how to open the system preferred editor for a given file.
Say, we have a file manager, written in Java. User goes to folder and sees the li
This will work in windows
Runtime.getRuntime().exec( "CMD /C START filename.ext " );