Jump to content

Recommended Posts

Posted

Hi, can anyone upload compiled OEMFactoryRestore.exe. i dont have Visual Studio. Thx so much

Visual C++ code:

#include"stdafx.h"

#include"windows.h"

int _tmain(int argc, _TCHAR* argv[])

{

ShellExecute(NULL,_T("open"),_T("x:\\Windows\\System32\\Mshta.exe"),_T("x:\\sources\\recovery\\tools\\OEMFactoryRestore.hta"),NULL,SW_SHOW);

return 0;

}


Posted

Why bother with that executable in the first place? All it does it show a HTA anyways. Plus, the path is hardcoded in the executable.

Why not just call mshta.exe yourself, instead of calling OEMFactoryRestore.exe?

Posted
Why bother with that executable in the first place? All it does it show a HTA anyways. Plus, the path is hardcoded in the executable.

Why not just call mshta.exe yourself, instead of calling OEMFactoryRestore.exe?

actually i dont know. i try to make "Windows Vista Hard Disk Recovery Solution". in PDF manual microsoft saying" compile it". iam really dont understand of this issue.. and sry for english

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...