方法1:
//当PHP已经放置在单独的bat中,总bat调用单独bat即可
//单独bat内容1
C:\xampp\php\php.exe -f C:\xampp\htdocs\demoWe\remindEveryday\complete1.php
//单独bat内容1
//单独bat内容2
C:\xampp\php\php.exe -f C:\xampp\htdocs\demoWe\remindEveryday\complete2.php
//单独bat内容2
//总bat内容
@ echo off
CALL C:\xampp\htdocs\demoWe\remindEveryday\complete1.bat
CALL C:\xampp\htdocs\demoWe\remindEveryday\complete2.bat
//总bat内容
方法2:
//把所有PHP放在同一个bat里
C:\xampp\php\php.exe -f C:\xampp\htdocs\demoWe\remindEveryday\complete1.php
C:\xampp\php\php.exe -f C:\xampp\htdocs\demoWe\remindEveryday\complete2.php
bat可以多行调用不同的东西。