Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: calling an exe and its input and target files

by NetWallah (Abbot)
on Nov 09, 2012 at 04:50 UTC ( #1003061=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach(@files) {
       system("c:\\midicsv\\midicsv.exe", "c:\\midicsv\\newmidi\\$_", "c:\
    +\midicsv\\newcsv\\$_")
    }
    
  2. or download this
    my $file = "C:\\temp\\somefile.csv";
    my $midfile = $file; # copy it
    $midfile =~ s/\.csv$/.mid/i;