Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
QuestionInsert Duplicate into Hashset Pin
sharma.ravi215-Mar-12 1:11
sharma.ravi215-Mar-12 1:11 
AnswerRe: Insert Duplicate into Hashset Pin
Luc Pattyn5-Mar-12 2:03
sitebuilderLuc Pattyn5-Mar-12 2:03 
AnswerRe: Insert Duplicate into Hashset Pin
PIEBALDconsult5-Mar-12 2:06
mvePIEBALDconsult5-Mar-12 2:06 
AnswerRe: Insert Duplicate into Hashset Pin
Shameel5-Mar-12 2:15
professionalShameel5-Mar-12 2:15 
AnswerRe: Insert Duplicate into Hashset Pin
Dean Oliver5-Mar-12 2:58
Dean Oliver5-Mar-12 2:58 
AnswerRe: Insert Duplicate into Hashset Pin
Montasser Ben Ouhida5-Mar-12 3:32
Montasser Ben Ouhida5-Mar-12 3:32 
Questioncombobox filter in datagridview filterpoup Pin
polachan5-Mar-12 0:56
polachan5-Mar-12 0:56 
Questionrunning multiple dos commands (including TFS commands) in c# Pin
canakcan4-Mar-12 22:40
canakcan4-Mar-12 22:40 
Hi everybody,

How can i execute multiple dos commands on a c# function?
Here are my 3 commands to be executed:
"cmd.exe"
"cd c:\"
"TF get $Project_Path"

Last commands is for Team Foundation Server(TFS) to get latest operation for a project.

I've tried to do this operation with the below code but it did not work. Where is the error and how can i do it, run the 2 commands at the same time??

C#
strCmdText1 = @" cd C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE";
strCmdText2 = @"TF get $/Project_Path /recursive";

System.Diagnostics.Process.Start("CMD.exe", strCmdText1);
System.Diagnostics.Process.Start("CMD.exe", strCmdText2);

AnswerRe: running multiple dos commands (including TFS commands) in c# Pin
Richard MacCutchan4-Mar-12 23:33
mveRichard MacCutchan4-Mar-12 23:33 
AnswerRe: running multiple dos commands (including TFS commands) in c# Pin
BobJanova5-Mar-12 0:20
BobJanova5-Mar-12 0:20 
QuestionInserting the XML tag in existing file Pin
Harish Reddy K4-Mar-12 20:22
Harish Reddy K4-Mar-12 20:22 
AnswerRe: Inserting the XML tag in existing file Pin
Wayne Gaylard4-Mar-12 21:01
professionalWayne Gaylard4-Mar-12 21:01 
QuestionHI ANYBODY PLS HELP ME ! Pin
mbjino4-Mar-12 19:11
mbjino4-Mar-12 19:11 
AnswerRe: HI ANYBODY PLS HELP ME ! Pin
Bernhard Hiller4-Mar-12 19:17
Bernhard Hiller4-Mar-12 19:17 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
mbjino4-Mar-12 19:22
mbjino4-Mar-12 19:22 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
Bernhard Hiller4-Mar-12 19:23
Bernhard Hiller4-Mar-12 19:23 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
mbjino4-Mar-12 19:25
mbjino4-Mar-12 19:25 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
Pete O'Hanlon4-Mar-12 19:33
mvePete O'Hanlon4-Mar-12 19:33 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
mbjino4-Mar-12 19:34
mbjino4-Mar-12 19:34 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
Pete O'Hanlon4-Mar-12 20:30
mvePete O'Hanlon4-Mar-12 20:30 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
Bernhard Hiller4-Mar-12 21:08
Bernhard Hiller4-Mar-12 21:08 
AnswerRe: HI ANYBODY PLS HELP ME ! Pin
Wayne Gaylard4-Mar-12 20:46
professionalWayne Gaylard4-Mar-12 20:46 
AnswerRe: HI ANYBODY PLS HELP ME ! PinPopular
OriginalGriff4-Mar-12 21:36
mveOriginalGriff4-Mar-12 21:36 
AnswerRe: HI ANYBODY PLS HELP ME ! Pin
Luc Pattyn5-Mar-12 2:07
sitebuilderLuc Pattyn5-Mar-12 2:07 
GeneralRe: HI ANYBODY PLS HELP ME ! Pin
jschell5-Mar-12 8:29
jschell5-Mar-12 8:29 

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.