Mega Code Archive

 
Categories / C / Code Snippets
 

Launch notepad from your app

#include <stdio.h> #include <windows.h> #include <conio.h> int main(void) { printf("Explorer will launch.\n"); system("h:\\windows\\explorer.exe"); return 0; }