Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlchntoz/elevator
🏗️Simple utility application that can launch anything within specific environment manipulated (Windows only)
https://github.com/jlchntoz/elevator
c-sharp environment-variables launcher uac uac-popup utility
Last synced: 27 days ago
JSON representation
🏗️Simple utility application that can launch anything within specific environment manipulated (Windows only)
- Host: GitHub
- URL: https://github.com/jlchntoz/elevator
- Owner: JLChnToZ
- License: mit
- Created: 2020-01-21T16:30:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T07:07:47.000Z (over 4 years ago)
- Last Synced: 2024-11-01T06:25:49.060Z (3 months ago)
- Topics: c-sharp, environment-variables, launcher, uac, uac-popup, utility
- Language: C#
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Elevator
This is a utility application that can launch anything with everything below defined at the same time:- Privilege raised
- Run as different user
- Environment variable maniupate (prefix, postfix, and/or redefine)
- Passing arguments
- Shell execute (Supports open something which itself isn't an executable)
- Working directory changeThis utility is specified and targeted to Windows platform only, it will not work on other platform even you try to run it with other CLR implementations.
## Usage
`Elevator.exe [options] [--] {command} [arguments...]`where options can be:
- `--vXXX`: Verb, aka. the action will take on the command/filename,
define this to use shell execute, where `XXX` is the verb itself, it can be `open`, `edit`, `openasreadonly`, `print`, etc.
- `--runas`: Special action that raise privilege to administrator while launching.
- `--eXXX=YYY`: Sets `YYY` to environment variable `XXX`.
- `--eXXX`: Copy environment variable `XXX` in current scope to new environment.
- `--aXXX=YYY`: Appends `YYY` to environment variable `XXX`.
- `--pXXX=YYY`: Prepends `YYY` to environment variable `XXX`.
- `--cd=YYY`: Sets working directory to `YYY`.
- `--wXXX`: Sets window style for new process, it can be `normal`, `hidden`, `minimized`, `maximized`, default is `normal`.
- `--nowindow`: Sets new process lanuch without creating a new window to contain it.
- `--nowait`: Do not wait until the target application exits. This may cause input problem if it is launched within interactive console.
- `--login=XXX`: Run the process with different user as `XXX`, you may pass as UPN format, such as `user@DNS_domain_name`.
- `--loginpw=XXX`: Password. If you have `login` defined and the user needs password, please provide with password.
- `--loaduserprofile`: Load user profile, only have use when use with `login`.The option prefix can be `--`, `-`, or `/`.
## License
[MIT](LICENSE)