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"