@ECHO OFF SET DEBUG=1 perl script2.pl #### exec($batchfile);