
#include <windows.h>
#include <iostream>
using namespace std;
int main ()
{
CreateDirectory("C:\\test", NULL); //self explanitory
cout<<"attempting to move file..." << endl;
MoveFile("C:\\test.txt" "C:\\test", NULL); //heres the problem
cout<<"Press ENTER to exit..." << endl;
cin.get();
return 0;
}


but its all up to you.. youknow 