Using batch codes

So I am looking for a simple way to make a c++ program, but using batch code as well. Simply put, I'm off school for the summer, and I am trying to keep myself busy while still learning as much as I can with c++. I made a batch file that copies some of my files to an external hard drive for updates. I want to now make a c++ code that will do the same thing. My batch code looks like this.

robocopy C:\Users\Music G:\Music /E /LOG+:G:/LOG.txt /NDL
robocopy C:\Users\Pictures G:\Pictures /E /LOG+:G:/LOG.txt /NDL
pause

Does anyone have a simple way to do this?
which platform you are working on and which compiler/IDE you are planning to use for C++?
I am just using Visual Studios 2008 making a win32 app
The Windows Platform API has a CopyFile function. Directories are traversed with FindFirstFile/FindNextFile/FindClose. You can create a directory with CreateDirectory.
Topic archived. No new replies allowed.