http://www.perlmonks.org?node_id=764614

koti688 has asked for the wisdom of the Perl Monks concerning the following question:

I have a Batch file named make.bat , and i need to run this file from a perl script which produces a Folder named "Output".
  • Comment on How to Run a Batch file from Perl Script

Replies are listed 'Best First'.
Re: How to Run a Batch file from Perl Script
by Anonymous Monk on May 18, 2009 at 09:53 UTC
Re: How to Run a Batch file from Perl Script
by Anneq (Vicar) on May 18, 2009 at 14:53 UTC

    How about:

    my $result = qx/some.bat/;

    HTH,

    Anne

Re: How to Run a Batch file from Perl Script
by Anonymous Monk on May 18, 2009 at 09:55 UTC