Click here to Skip to main content
15,879,535 members
Home / Discussions / C#
   

C#

 
QuestionMonoDroid Pin
mAzeem2221-Sep-12 5:55
mAzeem2221-Sep-12 5:55 
AnswerRe: MonoDroid Pin
Emmanuel Medina21-Sep-12 11:34
professionalEmmanuel Medina21-Sep-12 11:34 
GeneralRe: MonoDroid Pin
mAzeem2221-Sep-12 19:57
mAzeem2221-Sep-12 19:57 
GeneralRe: MonoDroid Pin
Richard MacCutchan21-Sep-12 21:15
mveRichard MacCutchan21-Sep-12 21:15 
QuestionC# using linq Pin
classy_dog21-Sep-12 5:53
classy_dog21-Sep-12 5:53 
AnswerRe: C# using linq Pin
Eddy Vluggen21-Sep-12 6:14
professionalEddy Vluggen21-Sep-12 6:14 
GeneralRe: C# using linq Pin
Paul Conrad22-Sep-12 11:19
professionalPaul Conrad22-Sep-12 11:19 
QuestionSend commands to DOS using C# Pin
kirangowle21-Sep-12 5:25
kirangowle21-Sep-12 5:25 
Hello All,

This is my first project/post in C# world Wink | ;)

I want to send and read the commands from DOS using C#.
For eg. creating/deleting a file using edit myfile.txt command

System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
string strCmdLine;
strCmdLine = "edit kiran.txt";
System.Diagnostics.Process.Start("CMD.exe", strCmdLine);


but in above code only command prompt is getting opened.i cant able to create a file Sniff | :^)

Thanks in advance.
Kirangowle
AnswerRe: Send commands to DOS using C# Pin
Thomas Daniels21-Sep-12 5:30
mentorThomas Daniels21-Sep-12 5:30 
QuestionSql Connection Problem in IIS Server Pin
omgade21-Sep-12 1:45
omgade21-Sep-12 1:45 
AnswerRe: Sql Connection Problem in IIS Server Pin
Shameel21-Sep-12 1:58
professionalShameel21-Sep-12 1:58 
QuestionCrystal Report Not Working For Console Application Pin
idreesbadshah21-Sep-12 0:09
idreesbadshah21-Sep-12 0:09 
AnswerRe: Crystal Report Not Working For Console Application Pin
Ingo21-Sep-12 1:10
Ingo21-Sep-12 1:10 
AnswerRe: Crystal Report Not Working For Console Application Pin
Eddy Vluggen21-Sep-12 2:38
professionalEddy Vluggen21-Sep-12 2:38 
QuestionNeed HELP !!!!! Pin
mAzeem2220-Sep-12 20:37
mAzeem2220-Sep-12 20:37 
AnswerRe: Need HELP !!!!! Pin
Abhinav S20-Sep-12 20:47
Abhinav S20-Sep-12 20:47 
GeneralRe: Need HELP !!!!! Pin
mAzeem2220-Sep-12 20:53
mAzeem2220-Sep-12 20:53 
GeneralRe: Need HELP !!!!! Pin
Abhinav S20-Sep-12 20:56
Abhinav S20-Sep-12 20:56 
GeneralRe: Need HELP !!!!! Pin
mAzeem2220-Sep-12 21:03
mAzeem2220-Sep-12 21:03 
AnswerRe: Need HELP !!!!! Pin
Ingo20-Sep-12 21:10
Ingo20-Sep-12 21:10 
AnswerRe: Need HELP !!!!! Pin
Richard MacCutchan20-Sep-12 21:02
mveRichard MacCutchan20-Sep-12 21:02 
AnswerRe: Need HELP !!!!! PinPopular
V.20-Sep-12 21:32
professionalV.20-Sep-12 21:32 
AnswerRe: Need HELP !!!!! Pin
Pete O'Hanlon20-Sep-12 22:06
mvePete O'Hanlon20-Sep-12 22:06 
QuestionShould I do a VB project? Pin
Swinkaran20-Sep-12 19:08
professionalSwinkaran20-Sep-12 19:08 
AnswerRe: Should I do a VB project? Pin
Mycroft Holmes20-Sep-12 20:05
professionalMycroft Holmes20-Sep-12 20:05 

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.