#include<Windows.h>
#include<TCHAR.h>
#include<iostream>
void main()
{
PROCESS_INFORMATION stProgressInfo;
TCHAR szAddr[256];lstrcpy(szAddr,L"文件全路径");
lstrcat(szAddr, _T("/delete 1"));
lstrcat(szAddr, _T("/noui"));
if (CreateProcess(_T("wceload.exe"), szAddr, NULL, NULL, NULL, 0, NULL, NULL, NULL, &stProgressInfo) == TRUE)
{
printf("excute success!");
}
else{
printf("excute failed,please select another method!");
}
}