I am trying to make a system call from perl:
#! C:\perl\bin\perl.exe my $file1 = "test1.txt"; system ( "check.bat > C:\\$file1 2>&1" );
The above system call does not seem to execute. But, when I type out the same command on dos prompt, it executes as expected. What might be wrong with the code above?
Thank you in advance.
In reply to system calls by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |