How can I set the PATH environment variable to server machine in

How can I set the PATH environment variable to server machine in

am 08.01.2008 06:45:08 von 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

Re: How can I set the PATH environment variable to server machine in asp.net ?

am 08.01.2008 08:52:52 von DFS

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


"chandan" wrote in message
news:7e81586c-9452-4a74-8d1d-59a4de7c3dd2@e23g2000prf.google groups.com...
>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