you can indeed use system to use c++ to make a more complex 'batch file' like program that can do a little more than batch files or do it a little easier/cleaner.
if your program is not just an extended batch file, you should avoid using system in favor of better tools though. System has security risks and is a crude tool suitable only for very small problems at best, never use it in a serious project.