I want to grep the the PID of last running process in Windows. I am running the command in the background.
- start "Window Title" /b "c:\Program Files\Wireshark\tshark.exe" -i 1 -w file1.pcap
- start "Window Title" /b "c:\Program Files\Wireshark\tshark.exe" -i 1 -w file2.pcap
How do I get the PIDs of these commands?