It is necessary through the program to open a text file, but not for work in the program, but just for viewing. For example just run in notepad. Is there any function?
2 answers
You can use WinExec
as parameters notepad path\to\file
|
system("notepad.exe filename")
If the extension is registered in the system, then just the file name will suffice:
system("filename.txt")
- @AMANOR Well, if you are satisfied with the answer - put a bird :) - Harry
|