程序员好助手windows环境变量管理器Rapid Environment Editor
[Rapid Environment Editor 官方网站] (http://www.rapidee.com/ )
[Rapid Environment Editor 命令行参数说明(英文)](http://www.rapidee.com/en/command-line )
开发环境经常需要自己配置windows环境变量,而windows自带环境变量编辑功能已经有十几岁年没变过了吧?
如果你经常需要查看或者修改windows环境变量,那么Rapid Environment Editor是个很不错的工具。
作者依山居 2015/10/31 周六 8:03:33.14 链接: http://my.oschina.net/ysj/blog/524245
![Uploading FiKE1_245072.png . . .]
"如图Rapid Environment Editor图形界面,左为系统变量,右边为当前用户的用户环境变量"
Rapid Environment Editor 还支持以命令行的形式对windows环境变量进行增删,
可以在批处理中使用。
#这是我用来设置cmd prompt的。在rapidee当前下执行,重启CMD可以看到效果。
rapidee.exe -S -M PROMPT $d$t$_$p$g
[Rapid Environment Editor 命令行参数说明(英文)](http://www.rapidee.com/en/command-line ):
rapidee -S [-C] [-E] [-U | -M] variableName newValue
-S
set value
-C
cleanup variable value (remove duplicate paths and empty elements)
-E
if variable doesn't exist then create it as expandable
-U
process user variables (default option)
-M
process system (machine) variables
Command line Result
rapidee -S foo a;b;c;;b foo=a;b;c;;b
rapidee -S -C foo a;b;c;;b foo=a;b;c
Insert value
rapidee -I [-C] [-E] [-U | -M] variableName value
-I
insert value
Command line Result
rapidee -S foo a;b
rapidee -I foo c
foo=c;a;b
Append value
rapidee -A [-C] [-E] [-U | -M] variableName value
-A
append value
Command line Result
rapidee -S foo a;b
rapidee -A foo c
foo=a;b;c
Remove value
rapidee -R [-C] [-U | -M] variableName value
-R
remove value
Command line Result
rapidee -S foo a;b;c
rapidee -R foo b
foo=a;c
Delete variable
rapidee -D [-U | -M] variableName
-D
delete variable
网友评论