0

Like Windows terminal, but with C#!

A thing who I want to create is a "like windows" terminal with the C# language. It is, receive commands from the user and execute them. I know how to create simple commands like "cls" and another ones that only have 1 word, but my problem is with commands that the user type a value for it, like, "echo {user message}". Someone who knows how to make one?

6th May 2018, 4:58 PM
OrderCompany
OrderCompany - avatar
1 ответ
0
You should take a look at string.split and regex to separate command and parameters.
15th May 2018, 8:21 PM
prenone