I would like to know how I could execute an external file (a .bat, for example) from an algorithm in C.
I would like to know how I could execute an external file (a .bat, for example) from an algorithm in C.
It's very simple, if it's in the same directory, just call it like this:
system("nome.bat");
Or you can call with the full path too, eg
system("C:\Users\Lucas\Desktop\teste.bat");