So, you're looking to get only the command name, without wildcards?
I.E. when the command is "Test*" and you speak "Test One", {CMD_DURING} would return "Test"?
EDIT: I was going to suggest working around this by using:
{TXTREPLACE:{CMD}:{CMD_AFTER}:}
However, this returns "Not set".