Below is the code of setup.pl:
my $fileToCopy= "ewq_file.bat";
my $destination = $ENV{PREPARE}; ### $destination = C:\Windows
if ( -f "$destination\\$fileToCopy" ) {
print "Triggering $destination\\$fileToCopy\n";
system("start $destination\\$fileToCopy");
}
On triggering: C:\cygwin\bin\perl.exe setup.pl
Output:
Triggering C:\Windows\ewq_file.bat
sh: start: command not found
How can i resolve this issue?