I want to make a java program witch automatically
opens a specified program to a given file
for example a mp4 file should be opened with a Converter to convert it to avi
So my question is:
is it possible to open a file in java with a given program, but not the default one?
And if yes, how?
As long as you know the exact path or the program has a known envirment variable, it’s quite easy:
This opens the file tmp in notepad.