更改环境变量

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

Dim WshShell
Set WshShell = Wscript.CreateObject("WScript.Shell") 
WshShell.Environment("user").Item("path")="c:\ruby"
Set WshShell=Nothing