Open a text file using the system text editor (SPMF documentation)
This example explains how to use SPMF to open a text file using the default system text editor on your computer .
How to run this example?
- If you are using the graphical interface of SPMF, (1) choose the "Open_text_file_with_system_text_editor" algorithm, (2) choose a text file as input file (.txt), and then (3) click "Run algorithm".
- If you want to execute this example from the command
line, then execute this command:
java -jar spmf.jar run Open_text_file_with_SPMF_text_editor your_input_file.txt
in a folder containing spmf.jar and some input file your_input_file.txt that you want to open
What does this tool do?
This tool simply launch the default text editor in your operating system to open the file given as input. For example, if you are using the Windows operating system and notepad.exe is the default text editor in your system for text file, then Notepad will be launched to open the given text file.