Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 753 Bytes

elevate.md

File metadata and controls

24 lines (13 loc) · 753 Bytes

Running applications with elevated permissions (as administrator)

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.

Usage:

There is no usage information provided by the script itself, so here it is:

USAGE:
  elevate.cmd application [application arguments]

That's it.

Example:

Here is an example:

> elevate.cmd "notepad.exe" "C:\Windows\System32\drivers\etc\hosts"

This open the hosts file in and elevated notepad.exe.