I use CMDNOWND for this. https://dennisbabkin.com/cmdnownd/
You pop it in the cmd line like this: cmdnownd "D:\Libraries\Documents\batchfile.bat" and it suppresses the appearance of the cmd window. Just place the exe in your path. I keep it in the Windows folder itself.
scrsht_cmdnownd.png