Both of these files are required.
- elevate.cmd » open the specified application with elevated permissions (run as administrator).
- elevate.vbs » this is NOT called directly. elevate.cmd calls this.
There is no usage information provided by the script itself, so here it is:
USAGE:
elevate.cmd application [application arguments]
That's it.
Here is an example:
> elevate.cmd "notepad.exe" "C:\Windows\System32\drivers\etc\hosts"
This open the hosts file in and elevated notepad.exe.