Skip to content

BlackBoxRecorder/EditEnv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A command line tool to edit Edit environment variable.

Install

If you have .Net SDK installed on your computer, you can install EditEnv by dotnet tool:

dotnet tool install EditEnv --global

or, download the EditEnv.exe , add it's directory to user Path environment variable.

Usage

Set user environment variable key value pair

EditEnv set test -v 123

EditEnv set test -v 123456
The Variable key [test] is exist, will you update it? (y/n) y
Set :test = 123456

Get user environment variable by key

EditEnv get test

Remove user environment variable by key

EditEnv remove test

Add directory to PATH

EditEnv path add -v D:\code\vsproject\EditEnv

EditEnv path add -v "C:\Program Files\ContextMenuTools\ImageProcess"
EditEnv set test -v 123 --target machine
The Variable key [test] is exist, will you update it? (y/n) y
Set :test = 123

EditEnv remove test --target machine

Remove directory from PATH

EditEnv path remove -v D:\code\vsproject\EditEnv

List all directory in PATH

EditEnv path list

To modify system environment variables, you need to open the terminal with administrator privileges.

EditEnv set test -v 123 --target machine

About

A command line tool to edit environment variable.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages