How to make a program to have its own version of PATH env

I want to know if I can have custom version of PATH env variable specific to my executable?

Answers


Use Environment.GetEnvironmentVariable() and Environment.SetEnvironmentVariable() to get and set PATH from within your program.


Need Your Help

How to adb chmod 750 on /sdcard using batch

shell unix adb file-permissions

I am learning adb. Can someone please tell me why below chmod command isn't changing permissions on the dir on /sdcard? It works fine in /data, but I'm trying to test in /sdcard. Thanks for any hel...

Reading Foxpro database date field using PHP

php oledb foxpro

I've wrote a PHP script to export a Foxpro database to other formats by using ADODB (http://phplens.com/lens/adodb) library to access Foxpro OLE DB provider.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.