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 do I show a caret (^) in math mode in LaTeX?

latex math-mode

I'm trying to display a caret (^) in math mode in LaTeX to represent the exclusive or operation implemented in the "C languages". By default, ^ is for creating a superscript in math mode. The close...

How to stop TypeValidationCompleted event?

.net maskedtextbox

i had included one masktext box for date. now in mask text boxes TypeValidationCompleted code... If (Not e.IsValidInput) Then MsgBox("The data you supplied must be a valid date.",