My question is whether a file can be executed by its address (file path?).
For example, I want to execute the file that is in "C: \ Program Files \ Misc \ list.txt" and that the notepad with the file will open. As if I were opening it manually.
I searched for a lot of tutorials but most of them were about writing or reading the files, it's not what I need, I think. I am using Dev-C ++ (although I have no problems using Visual Studio 2017).