windows - Advise Request: How to launch three .bat files at the same time? -


i got 3 separate .bat files. each has following 3 commands respectively.

    file1.bat:     cmd /k "cd c:\pythonscripts\x3865\ & python run_all.py"     file1.bat:     cmd /k "cd c:\pythonscripts\x3865_1\ & python run_all.py"     file1.bat:     cmd /k "cd c:\pythonscripts\x3865_2\ & python run_all.py" 

currently execute program, go windows file folder , double click on each of them launch programs. come in 3 different command windows.

i want combine above commands in 1 single .bat file, when executed launch 3 programs automatically. how can this?

the answers mark , ian0411 run 3 python scripts 1 after other. if that's want, go either of those. if want run 3 scripts simultaneously, batch file should be

start cmd /c python "c:\pythonscripts\x3865\run_all.py" start cmd /c python "c:\pythonscripts\x3865_1\run_all.py" start cmd /c python "c:\pythonscripts\x3865_2\run_all.py" 

this start each in separate window; if there output needed command(s), change /c /k; leave window open until close manually.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -