程序員好助手windows環(huán)境變量管理器Rapid Environment Editor
[Rapid Environment Editor 官方網(wǎng)站] (http://www.rapidee.com/ )
[Rapid Environment Editor 命令行參數(shù)說明(英文)](http://www.rapidee.com/en/command-line )
開發(fā)環(huán)境經(jīng)常需要自己配置windows環(huán)境變量黎侈,而windows自帶環(huán)境變量編輯功能已經(jīng)有十幾歲年沒變過了吧骨饿?
如果你經(jīng)常需要查看或者修改windows環(huán)境變量,那么Rapid Environment Editor是個(gè)很不錯(cuò)的工具。
作者依山居 2015/10/31 周六 8:03:33.14 鏈接: http://my.oschina.net/ysj/blog/524245
![Uploading FiKE1_245072.png . . .]
"如圖Rapid Environment Editor圖形界面,左為系統(tǒng)變量,右邊為當(dāng)前用戶的用戶環(huán)境變量"
Rapid Environment Editor 還支持以命令行的形式對(duì)windows環(huán)境變量進(jìn)行增刪镰惦,
可以在批處理中使用垒在。
#這是我用來設(shè)置cmd prompt的闸天。在rapidee當(dāng)前下執(zhí)行暖呕,重啟CMD可以看到效果。
rapidee.exe -S -M PROMPT $d$t$_$p$g
[Rapid Environment Editor 命令行參數(shù)說明(英文)](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