Opened 10 years ago
Closed 7 years ago
#322 closed enhancement (worksforme)
Command line ability to escalate to admin priviliges
|Reported by:||maphew||Owned by:||maphew|
I'd like to add the command line elevate utility to osgeo4w. Elevate "executes a command with UAC privilege elevation. This is useful for working inside command prompts or with batch files."
Usage ===== Synopsis: elevate [(-c | -k) [-n] [-u]] [-w] command Options: -c Launches a terminating command processor; equivalent to "cmd /c command". -k Launches a persistent command processor; equivalent to "cmd /k command". -n When using -c or -k, do not pushd the current directory before execution. -u When using -c or -k, use Unicode; equivalent to "cmd /u". -w Waits for termination; equivalent to "start /wait command".
The most logical place to add this is as a sub package to pkg-shell, or perhaps just inside shell.
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 7 years ago
|Status:||new → closed|
Note: See TracTickets for help on using tickets.
The nircmd package also has that ability. Eg.