RosettaCodeData/Task/Execute-a-system-command/C-sharp/execute-a-system-command-1.cs

13 lines
187 B
C#
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
using System.Diagnostics;
namespace Execute
{
class Program
{
static void Main(string[] args)
{
Process.Start("cmd.exe", "/c dir");
}
}
}