this gets a single value (ie 23) and will loop a task that many times. Just change companys.php to where the value is stored.
1 2 3 4 5 6 7 8 9 10 |
for /f "delims=" %%x in (companys.php) do set companys=%%x echo %companys% for /l %%x in (1 1 %companys%) do ( START "" "c:\wamp\bin\php\php5.5.12\php.exe" -f "C:\wamp\www\googleyesterday-task.php" timeout /t 10 ) |