Download strawberry perl and follow my tutorials. Replace "say hello" etc with what you want to run in cmd. Where every new line is a new command.



PHP Code:

#!/usr/bin/perl

system "say hello  
        say how are you?
        say bye"