I have a script that will run open multiple cmd windows and run different php commands in each window. Unfortunately, my current code waits for the first set of PHP commands to finish before the second set of PHP commands starts, defeating the purpose of opening multiple windows.
Is it possible to run all sets of PHP commands in separate cmd windows simultaneously?
My current code:
start
cd c:\users\administrator\desktop\chps\chp1
php checker.php
start
cd c:\users\administrator\desktop\chps\chp2
php checker.php
start
cd c:\users\administrator\desktop\chps\chp3
php checker.php
start
cd c:\users\administrator\desktop\chps\chp4
php checker.php
start
cd c:\users\administrator\desktop\chps\chp5
php checker.php
start
cd c:\users\administrator\desktop\chps\chp6
php checker.php
start
cd c:\users\administrator\desktop\chps\chp7
php checker.php
start
cd c:\users\administrator\desktop\chps\chp8
php checker.php
start
cd c:\users\administrator\desktop\chps\chp9
php checker.php
start
cd c:\users\administrator\desktop\chps\chp10