Im new to programming and trying to copy a file from My Documents To C.
The code i use is:
Code:
#include <windows.h>
#include <iostream>
using namespace std;
int main(){
system("title copy1");
MessageBox(NULL, "Copy","Press OK To Start Copy", MB_ICONEXCLAMATION | MB_OK);
system("copy C:\\Documents and Settings\\me\\Mine dokumenter\\test.txt C:\\test.txt");
cin.get();
}
The main problem is the spaces in "Documents and settings" anyone know how to get past that
im using windows xp/dev-c++
and for some reason the opposite /'s are shown as W here