use strict; my $program="index.bat"; #$status= system $program or die "$program exited funny: $?";