in reply to Re: System command is giving error if we redirect output to file
in thread System command is giving error if we redirect output to file

Thanks for your comments. Actually when I run the following command in command prompt working fine. tshark.exe -i 3 -c 10 > abcd.txt If I include the same command in system command as $status = system ("C:\\Program Files\\Wireshark\\tshark.exe " , "-i 3", "-c","10" ,"> c:\\ram.txt"); Error : Invalid capture filter: "> c:\ram.txt"
  • Comment on Re^2: System command is giving error if we redirect output to file