2012-02-06 26 views
1

我想在c#代码中的PATH env项后追加一些路径,该怎么做?如何在代码中添加dll搜索路径?

+4

试试这个: http://stackoverflow.com/questions/185208/how-do-i-get-and-set-environment-variables-in-c – 2012-02-06 08:40:20

回答

1

检查Environment.SetEnvironmentVariable方法。更多详情here