C# console application executing command line commands?

  • From: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
  • To: "Program-l" <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 4 Aug 2010 19:40:23 +0200

Ok, next silly question...

Since have never really created command line/console applications, am now just 
trying to figure out how to get a console application created in C# to execute 
command line commands, and then how to get it to close/exit itsself after 
operation?

Idea would be to create a slightly trumped up target for something like a send 
to shortcut that can do a bit more than your average batch file.

Have looked for simple examples, but am obviously, again, using incorrect 
search terms or something - LOL!

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'



__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5341 (20100804) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Other related posts: