In a batch file, add pause to display the "Press any key to continue . . ." message.
Optionally you can use "@echo off" to hide the commands being sent, so the script wont display stuff like "php generate.php" and "pause".