CString strCommand = "copy t0101.txt + t0102.txt + t0103.txt ttime.txt";
STARTUPINFO si;
PROCESS_INFORMATION pi;
memset(&si, 0, sizeof(si));
memset(&pi, 0, sizeof(pi));
si.cb = sizeof(si);
si.dwFlags=STARTF_USEPOSITION|STARTF_USESIZE;
si.dwX =iXPix/6;
si.dwY =iYPix/6;
si.dwXSize =iXPix*2/3;
si.dwYSize =iYPix*2/3;
int ret= CreateProcess(
NULL, // pointer to name of executable module 
strCommand.GetBuffer (strCommand.GetLength ()),// pointer to command line string
NULL, // pointer to process security attributes 
NULL, // pointer to thread security attributes 
FALSE, // handle inheritance flag 
0, // creation flags 
NULL, // pointer to new environment block 
NULL, // pointer to current directory name 
&si, // pointer to STARTUPINFO 
&pi // pointer to PROCESS_INFORMATION  
);