Accessing files from a C program.
I'm new to the forums and have very little programming knowledge. I've read some of the tutorials on this website for C programming. They certainly aid in my attempt to make a program. The only thing I can't figure out is how to make the C program open up and run a separate file.
What I'm trying to do is execute a batch file using my C program. I'm certain it's not simple to do however I'm still trying to do it. Does anyone know a method I can use to call up and execute the batch file from my C program?
For general info I am using the free DJGPP compiler from Deloire. All programs compiled through it (at least by me) are executed in MS-DOS.
Thanks in advance for any assistance.