Opening .bat file from Dynamo

Here:

Just change the extension to .bat from .py and remove all arguments. Probably your batch file doesn’t use them.

import clr
import sys
sys.path.append(r'C:\Program Files (x86)\IronPython 2.7\Lib')
import os
os.system('z:\batchcommand.bat')