How does one run dos commands from a c++ program, there's a system() function but it doesn't work.
Printable View
How does one run dos commands from a c++ program, there's a system() function but it doesn't work.
Do a search on the spawn funcs, or.....read the FAQs -> Answer to so many questions :)
The system() function does work, however, in the FAQ you'll find why you shouldn't use it.