Code:
#include <iostream.h>
#include <cstdlib.h>
using namespace std;
int main(){/*
#ifdef _WIN32
if (!system("copy C:\\Progra~1\\WCRobot\\*.* C:\\Borland"))
cout << "SENT";
else
cout << "<mod-snipped>";
#endif*/
move ("C:\\Progra~1\\WCRobot\\*.*", "C:\\Borland");
return 0;
}
This is just an example, but I already know how to use system() correctly but it invokes a shell-like environment. I was curious if there is syntax for a move/delete/copy/etc function like I wrote above:
move ("C:\\Progra~1\\WCRobot\\*.*", "C:\\Borland");
that works (this one does not), anyone know the syntax/includes?