in reply to How to execute multiple commands through perl script
Try it this way:
my $cmd = "perl Perl_Ex_1.pl"; system qq[ start /D c:\PerlExamples cmd /k $cmd ];
See start /? at your command prompt for the explanation of /D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to execute multiple commands through perl script
by Anonymous Monk on Oct 04, 2016 at 20:09 UTC |