Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
QuestionForLoop & Foreach Pin
SysJey28-May-06 22:30
SysJey28-May-06 22:30 
AnswerRe: ForLoop & Foreach [modified] Pin
Colin Angus Mackay28-May-06 22:34
Colin Angus Mackay28-May-06 22:34 
GeneralRe: ForLoop & Foreach Pin
S. Senthil Kumar29-May-06 1:37
S. Senthil Kumar29-May-06 1:37 
GeneralRe: ForLoop & Foreach Pin
Colin Angus Mackay29-May-06 4:41
Colin Angus Mackay29-May-06 4:41 
QuestionCmd prompt Pin
Support12328-May-06 22:26
Support12328-May-06 22:26 
AnswerRe: Cmd prompt Pin
Colin Angus Mackay28-May-06 22:31
Colin Angus Mackay28-May-06 22:31 
GeneralRe: Cmd prompt Pin
Support12328-May-06 22:35
Support12328-May-06 22:35 
GeneralRe: Cmd prompt Pin
Colin Angus Mackay28-May-06 22:40
Colin Angus Mackay28-May-06 22:40 
My two suggestions expanded:

1. You are calling cmd.exe and sending it a command to execute. Instead of wondering how to send it more than one command, why not put all your commands in a batch file and send cmd.exe the batch file to execute

2. Call cmd.exe and redirect the StandardInput. You can then write commands to the cmd.exe process as if you were typing on the command prompt itself. (However, I've never tried this so I can't say with 100% certainty that it will work or be without problems)


"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
GeneralRe: Cmd prompt Pin
Support12328-May-06 22:45
Support12328-May-06 22:45 
Questionproblem with dataview Pin
foysal mamun28-May-06 22:25
foysal mamun28-May-06 22:25 
AnswerRe: problem with dataview [modified] Pin
rah_sin28-May-06 23:20
professionalrah_sin28-May-06 23:20 
GeneralRe: problem with dataview [modified] Pin
foysal mamun28-May-06 23:43
foysal mamun28-May-06 23:43 
QuestionHow to convert a file with extension .msg to .txt [modified] Pin
alokjha_mahe28-May-06 22:21
alokjha_mahe28-May-06 22:21 
AnswerRe: How to convert a file with extension .msg to .txt [modified] Pin
stancrm28-May-06 22:30
stancrm28-May-06 22:30 
AnswerRe: How to convert a file with extension .msg to .txt [modified] Pin
leppie29-May-06 4:35
leppie29-May-06 4:35 
Questiona question about date calculation ? Pin
cmpeng3428-May-06 22:09
cmpeng3428-May-06 22:09 
AnswerRe: a question about date calculation ? Pin
rah_sin28-May-06 22:26
professionalrah_sin28-May-06 22:26 
AnswerRe: a question about date calculation ? Pin
stancrm28-May-06 22:28
stancrm28-May-06 22:28 
AnswerRe: a question about date calculation ? Pin
foysal mamun28-May-06 22:32
foysal mamun28-May-06 22:32 
QuestionListview DragDrop Visual Themes error... Pin
Leon van Wyk28-May-06 22:08
professionalLeon van Wyk28-May-06 22:08 
QuestionSqlParameter Array ? Pin
Mairaaj Khan28-May-06 21:28
professionalMairaaj Khan28-May-06 21:28 
AnswerRe: SqlParameter Array ? Pin
albCode28-May-06 21:31
albCode28-May-06 21:31 
GeneralRe: SqlParameter Array ? Pin
Colin Angus Mackay28-May-06 21:44
Colin Angus Mackay28-May-06 21:44 
GeneralRe: SqlParameter Array ? Pin
albCode28-May-06 22:24
albCode28-May-06 22:24 
GeneralRe: SqlParameter Array ? Pin
Mairaaj Khan28-May-06 23:34
professionalMairaaj Khan28-May-06 23:34 

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.