I have a sample.bat file that has variable number of parameters. These parameters are coming from a python file:
# sample.py
p = Popen(['sample.bat', module_name_vista,
memory_type_vista, linker_name_vista])
errors = p.communicate()
p.wait()
I want to know is there a way to pass variable number of arguments when invoking sample.bat file?
The number of parameters will vary depending on how user wants to use the batch file.