system("notepad.exe /p \"filename.txt\"");