How can I set the PATH environment variable to server machine inasp.net ?

C

chandan

I want to set the PATH environment variable to server machine through
my application. I am using ASP.net 2.0 and language C#.

Thanks in advance!
Chandan
 
N

Naraendirakumar R.R.

We did this using http://msdn2.microsoft.com/en-us/library/96xafkes.aspx in
tier code running under custom host.

The last paramter EnvironmentTarget allows you to specify the scope of the
change (current process only, logged on user, local machine.) I presume
you are looking for local machine?

Haven't done it using ASP.NET. You might have to figure out the necessary
code access permissions to enable you to do that.

Hope this helps.

Cheers,
-Naraen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top