更改环境变量 2015/09/20 12811 Dim WshShell Set WshShell = Wscript.CreateObject("WScript.Shell") WshShell.Environment("user").Item("path")="c:\ruby" Set WshShell=Nothing