I need to copy one file to windir, So I do:
TCHAR windir[MAX_PATH];
GetWindowsDirectory(windir, MAX_PATH);
to get the windir.
char newLocation[]="text.txt"; // how to add the windir here?
BOOL stats=0;
CopyFile(filename, newLocation, stats);
My problem is, I want to add the windir value before the text.txt in char newLocation[].
Any ideas?