[Osgeo4w-trac] [osgeo4w] #322: Command line ability to escalate to admin priviliges

OSGeo4W trac_osgeo4w at osgeo.org
Fri Dec 14 10:47:08 PST 2012


#322: Command line ability to escalate to admin priviliges
------------------------+---------------------------------------------------
Reporter:  maphew       |       Owner:  maphew 
    Type:  enhancement  |      Status:  new    
Priority:  major        |   Component:  Package
 Version:               |    Keywords:  shell  
------------------------+---------------------------------------------------
 I'd like to add the command line [http://code.kliu.org/misc/elevate/
 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 [wiki:pkg-
 shell], or perhaps just inside shell.

 Any comments?

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/322>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list