Hope this helps.#! C:\perl\bin\perl.exe my $file1 = "test1.txt"; my $cmd = "check.bat > C://$file1 2>&1"; system ( $cmd );
Update: Also, even in Windows, use // instead of \\
In reply to Re: system calls
by bofh_of_oz
in thread system calls
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |