How do I open an external EXE file from inside C? I’m trying to write a C program that opens Notepad, and some other applications and I am stuck.
Thanks for putting up with my noob level of C ;p
How do I open an external EXE file from inside C? I’m trying to
Share
Please try
system("notepad");which will open the notepad executable. Please note that the path to the executable should be part ofPATHvariable or the full path needs to be given to thesystemcall.