I'm not sure how you would do it, but you could look for common words and ask if that's what they meant? I don't know if SmileBASIC can do that though. I suggest having options for them to pick from.
What kind of command do you want the user to be able to execute? Unless it's a built-in command such as "FILES" you're going to have to interpret the user's input and supply some code to perform the required action.