Are there any API wrapper of Robocopy?

There seems to be some stuff out there which puts a GUI on it, e.g. Synchronizing Images and Files in Windows Vista and XP Using Microsoft SyncToy (forum here) and Utility Spotlight - Robocopy GUI. I haven't found an API as yet, nor whether Robocopy exposes ActiveX-style control.

Edit: The rather large online description of Robocopy says something about

Robocopy 'Jobs' and the 'MOnitor source' option provide an alternative to setting up a Scheduled Task to run a batchfile with a RoboCopy command.

Might help. Might not.


I realize that this is a very old post, but just in case someone stumbles upon it...

I wrote a wrapper for robocopy in c# called RoboSharp. It does exactly what the OP originally requested.

https://github.com/tjscience/RoboSharp


Thanks for your answers, and after some more research, I believe the API does not exist.

The maximum degree of reusing the feature from Robocopy is fork a child process with command line arguments.