Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How can I set the PATH environment variable to server machine inasp.net ?

Reply
Thread Tools

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

 
 
chandan
Guest
Posts: n/a
 
      01-08-2008
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
 
Reply With Quote
 
 
 
 
Naraendirakumar R.R.
Guest
Posts: n/a
 
      01-08-2008
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-...
>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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to set another machine's environment variable? vinay.babu Software 0 10-16-2008 11:54 AM
how set the PATH environment variable to server machine through myapplication? chandan ASP .Net Web Services 1 01-08-2008 04:13 PM
Setting an environment variable from another environment variable marcwentink@hotmail.com Java 5 04-04-2007 10:39 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57