foreach my $missingExe (@exeList){ chdir "d:\\exepath"; #change the path system(1, "$missingExe"); #for run the exe here 1 is for don't wait for next line to execute # $missingExe is the watch folder exe so it never ends }