Re: C# console application executing command line commands?

  • From: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 4 Aug 2010 21:40:57 +0200

AFAIK, Powershell won't simply run on operating systems like XP, without a service pack or 2?


Stay well

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

----- Original Message ----- From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Wednesday, August 04, 2010 7:54 PM
Subject: Re: C# console application executing command line commands?


Have a look into PowerShell - Microsoft's dot Net aware command line utility.

 Martin


----- Original Message ----- From: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
To: "Program-l" <program-l@xxxxxxxxxxxxx>
Cc: <ProgrammingBlind@xxxxxxxxxxxxx>
Sent: Wednesday, August 04, 2010 6:40 PM
Subject: C# console application executing command line commands?


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


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind


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

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





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

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: