How to run command on command prompt as admin through c++ program. I used ShellExecute(),
but it does not run command on command prompt as admin.
ShellExecute(NULL, _T("open"), _T("C:\\vss\\vshadow-2008-x64.exe"), NULL, NULL, SW_SHOWDEFAULT);
And how to capture the output from the command prompt as admin to the string.