Hi Gerald,
of course there are other ways.
One way could be to use a text file to pass parameters like this:
*** snipppet of batch file
echo parameter1 > c:parameters.txt
wait 100
echo parameter2 > c:parameters.txt
*** snippet end
Your vi is running all the time and checks the parameter.txt-file for new data (file palette-> file/directory info). When new data is passed, the file is read and parsed...
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019