in reply to system calls
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 \\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: system calls
by phaylon (Curate) on Apr 22, 2005 at 20:51 UTC | |
|
Re^2: system calls
by Anonymous Monk on Apr 22, 2005 at 20:51 UTC |