Send arguments to a command interpreter from a batch file

I want to send commands as arguments to a command interpreter from a batch file. The command interpreter has a .bat extension and have tried the following

set text=sample
cd "C:Program Filesmsys-2017"
call msys.bat %text%

So far, the code opens the command interpreter but the ‘text’ is not displayed and executed. To simplify I wan to automate a process with a batch file where the command interpreter can execute a series of commands like ‘cd path; make; execute an application.’

In conclusion, I have two questions: 1. How can i send arguments to a command interpreter from a batch file? and 2. is using a batch file the best way to automate a process in a command interpreter?