How can I make a batch file execute multiple (Python) scripts sequentially, each in their own window, and keep all those windows open upon completion? Right now, my batch is something like:
python script1
start python script2
pause/cmd
But only the parent window stays open.
thanks.
Environment:
Windows XP/Vista
It supports as many scripts with their arguments as you can supply on the command line.
If you don’t use arguments for scripts; you could simplify the usage:
Note: no
--between scripts. You need to modify the code in this case:end = 2rest = sys.argv[end:](Note: no+1)