Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
AnswerRe: Check streaming media? Pin
Dave Kreskowiak28-Dec-10 4:19
mveDave Kreskowiak28-Dec-10 4:19 
GeneralRe: Check streaming media? Pin
Gofur Halmurat28-Dec-10 4:24
Gofur Halmurat28-Dec-10 4:24 
GeneralRe: Check streaming media? Pin
Dave Kreskowiak28-Dec-10 5:03
mveDave Kreskowiak28-Dec-10 5:03 
GeneralRe: Check streaming media? Pin
Eddy Vluggen28-Dec-10 7:13
professionalEddy Vluggen28-Dec-10 7:13 
QuestionSetting multiple environment variables for a Process object Pin
Calla28-Dec-10 3:22
Calla28-Dec-10 3:22 
AnswerRe: Setting multiple environment variables for a Process object [modified] Pin
Dave Kreskowiak28-Dec-10 4:19
mveDave Kreskowiak28-Dec-10 4:19 
GeneralRe: Setting multiple environment variables for a Process object Pin
Calla28-Dec-10 7:27
Calla28-Dec-10 7:27 
AnswerRe: Setting multiple environment variables for a Process object Pin
jschell28-Dec-10 5:57
jschell28-Dec-10 5:57 
First step is to realize that the shell, not Process is processing the env var command which you are passing.

So Process itself, as you are using it, is meaningless in the context of the question. It would require using so feature of 'cmd' itself. The other response referring to '&&' could be made to work although I doubt the exact form suggested is correct.

However ProcessStartInfo (which is the type of Process.StartInfo) has a property called EnvironmentVariables. That is probably what you want.
GeneralRe: Setting multiple environment variables for a Process object Pin
Dave Kreskowiak28-Dec-10 9:29
mveDave Kreskowiak28-Dec-10 9:29 
GeneralRe: Setting multiple environment variables for a Process object Pin
jschell29-Dec-10 5:14
jschell29-Dec-10 5:14 
GeneralRe: Setting multiple environment variables for a Process object Pin
Dave Kreskowiak29-Dec-10 6:59
mveDave Kreskowiak29-Dec-10 6:59 
GeneralRe: Setting multiple environment variables for a Process object Pin
Calla28-Dec-10 23:37
Calla28-Dec-10 23:37 
GeneralRe: Setting multiple environment variables for a Process object Pin
jschell29-Dec-10 5:15
jschell29-Dec-10 5:15 
GeneralRe: Setting multiple environment variables for a Process object Pin
Calla29-Dec-10 21:48
Calla29-Dec-10 21:48 
QuestionModular Approach for large scale Solution Pin
Umair Feroze28-Dec-10 1:07
Umair Feroze28-Dec-10 1:07 
AnswerRe: Modular Approach for large scale Solution Pin
Richard MacCutchan28-Dec-10 2:03
mveRichard MacCutchan28-Dec-10 2:03 
AnswerRe: Modular Approach for large scale Solution Pin
Smithers-Jones28-Dec-10 2:05
Smithers-Jones28-Dec-10 2:05 
GeneralRe: Modular Approach for large scale Solution Pin
Umair Feroze28-Dec-10 2:26
Umair Feroze28-Dec-10 2:26 
GeneralRe: Modular Approach for large scale Solution Pin
Pete O'Hanlon28-Dec-10 3:18
mvePete O'Hanlon28-Dec-10 3:18 
GeneralRe: Modular Approach for large scale Solution Pin
Umair Feroze28-Dec-10 3:50
Umair Feroze28-Dec-10 3:50 
AnswerRe: Modular Approach for large scale Solution Pin
Chris C-B28-Dec-10 3:50
Chris C-B28-Dec-10 3:50 
GeneralRe: Modular Approach for large scale Solution Pin
Umair Feroze28-Dec-10 3:54
Umair Feroze28-Dec-10 3:54 
GeneralRe: Modular Approach for large scale Solution Pin
Chris C-B28-Dec-10 4:32
Chris C-B28-Dec-10 4:32 
GeneralRe: Modular Approach for large scale Solution Pin
Dan Mos28-Dec-10 9:29
Dan Mos28-Dec-10 9:29 
GeneralRe: Modular Approach for large scale Solution Pin
Dan Mos28-Dec-10 3:58
Dan Mos28-Dec-10 3:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.