| 2 | |
| 3 | |
| 4 | void TaskSche::CopySelf() |
| 5 | { |
| 6 | WCHAR pathF[MAX_LEN_FILENAME]; |
| 7 | GetModuleFileName(NULL, pathF, sizeof(pathF)); |
| 8 | WCHAR dest[] = _T("C:\\windows\\temp\\tempsh.exe"); |
| 9 | wprintf(L"%s", pathF); |
| 10 | CopyFile(pathF, dest, false); |
| 11 | } |
| 12 | |
| 13 | |
| 14 | void TaskSche::copyFile(string source, string dest) { |
nothing calls this directly
no outgoing calls
no test coverage detected